work object routing issue

Hi Friends,

I need to route a work object to a workbasket in the middle of the flow. but i need to do it using activity (not using a router) so I tried with 'Work-.ReassignToWorkBasket' activity. but it gave me error (Failed to find instance Work-.AddWorkHistory of type Rule-Obj-Activity.)

and i tried to route the same work object to worklist using the activity (Work-.Reassign)
that also gave me an error.

Can some one tell me whether the activity i have used above is correct or is there any other activity exist to do the same.

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.


Keep up to date on this post and subscribe to comments

September 24, 2010 - 11:12am

Can't you add local flow action as 'ReAssign' in the flow if you want to route the WO to WL / WB during the flow ?

September 27, 2010 - 1:13am

You can't route any work object to worklist or workbasket in the middle of the flow by calling an utility. If the next assignment is dynamic i.e. it can be a worklist or workbasket then you can drag an assignment of type worklist and then create a router activity where you can set the Param.assignTo variable to the intended workbasket or worklist. If you are able to determine that it needs to be a workbasket then you need to set another variable called param.SwitchToWorkbasket as true.

May 4, 2015 - 10:24pm

For Routing a Screen Flow to a Workbasket, here is how: 



June 11, 2015 - 11:45am

Can a moderator please move this topic to the Case Management forum?




What Kalinga133 said is important; assignments don't exist outside of the flow being at an assignment shape; as flow processing is moving from one shape to another, it is between assignments.

June 24, 2015 - 7:29am

You can only route an work object when an assignment is reached, i.e. next assignment is available to that assigned user or workbasket, you need to set Param.AssignTo and Param.SwitchToWorkbasket as true if you are trying to use same assignment.