Posted: 6 Nov 2015 9:25 EST Last activity: 6 Nov 2015 12:57 EST
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.
Share this page
Moderation Team has archived post,
This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Discussion, please write a new Discussion.
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.
Thanks for the reply. But the issue is we can not have workbasket defined in the assignment . There are local action in that first assignment, while completing the local action the work item stays on the the workbasket only. Due to this on completion of the local assignment system is displaying the confirm harness and work object is closed(Not resolved). The user is not redirected to the flow action defined on the assignment.