Discussion
Creating work object from agent.
As per requirement I need to create a new work item from an agent. The first assignment of the flow has route option set to current operator. I have used svcAddWorkObject for creating the work item. And then for all the work assignment I will use activity to route it to specific work basket. But it is getting failed when run from an agent as it is not able to find the operator(current operator to route to). I can not use route option from the assignment as there are local action which should not be routed. Any one having any idea .. Please share.
-Saikat
Agent uses System operator internally and you cannot use the ToCurrentOperator in the First Assignment of the flow if you are running through agent, you should route the work to work basket and the operators will pick from work basket option from the portal or use the GetNextWork option to retrieve the work.