getting executed workitem back to previous user
Hello All,
I have a custom work which is like this…
I am using webdynpro forms linked with workflowsto 8 users–approval /rejection. ( all users are maintained in Ztable). After approving the 8th user the workitem goes to initiator.i.e 1st user. if any user rejects the item then then also workitme goest to initiator for ammendements.after ammendements that workitem again will be approved by 8 users.
requirement1is when 8th user rejects,can heget back the workitem in to his inbox??
requirement 2: can 8th user get fecility that when he rejects workitem,that workitem has to be gone to anothe special user for comments and with that comments again that workitem should be come to 8th user inbox.
please suggest me how to divert the workitem at the 8th level and how to get back the approved or rejected workitem??
Ramesh
Hi Ramesh,
When you bind the workflow task for the 8th user, you can capture the userid of the 8th user from the standard _WI_ACTUAL_AGENT task container element to a workflow container element. If you use an expression e.g. 8thLevelApprovers (of type TSWHACTOR), for your 8th level approval task, you can then control whether 8thLevelApprovers holds the original approvers or is set to your previous 8th level user when you trigger that task.
Getting back to the 8th level approval task is usually handled by loops or subflows/events.
Btw - 8 LEVELS OF APPROVAL???? Seriously??? Would question the business as to whether that is really needed ... unless it's for extremely high value transactions it seems excessive.
Regards,
Jocelyn
Thank u ..
You should also post questions as questions, not blogs - to get more responses