Hi,
We have recently upgraded from 803 to the 807 release and may have stumpled across a few issues related to how the redirect and delegate functions operate. Or perhaps we don't fully understand how they should be utilised.
Problem:
We currently have 3 lists available in our application
- My List - Shows all work list items assigned to me that I am currently working on (opened)
- Available List - Shows all work list items available to me (available)
- Allocated - Show all work list items that have been opened by other users (allocated)
We need to enable users to "Redirect" or "Delegate" items in their "Available List" to another user's "My List".
For example:
When user A Redirected a worklist-item to user B, the worklist-item status will change from Available to Allocated for ALL other users and its worklist status will be Open for user B. Hence in our system it will disappear from the Available Task List and appear in the Allocated Task List for ALL other users. For user B the worklist-item will appear in the My Task list.
In the 803 release we utilised Redirect, which seemed to work fine until the 807 release. We have now tried using Delegate but when we implement the following code to enable user A to delegate an item to user B, user B work list shows the delegated work list item as Allocated and user B cannot action the item?
SourceCode.Workflow.Client.WorklistItem wli = connection.OpenWorklistItem([INSERT SERIAL NO]);
SourceCode.Workflow.Client.Destination dest = new SourceCode.Workflow.Client.Destination();
dest.DestinationType = SourceCode.Workflow.Client.DestinationType.User;
dest.Name = "[INSERT USERNAME]";
dest.AllowedActions.Add("[INSERT ACTIONS]");
wli.Delegate(dest);
Can someone explain exactly how Redirect and Delegate now work in the 807 release?
Thanks for you time!