This Document is to help fresher’s in sap Workflow.
This Document is about how parallel approval , sequential Approval process can be done in workflow.
Scenario:
- We need to send same work item or approval task to more than one approvers at same
time. If anyone approver approves then that work item should be disappear from remaining
Approvers inbox and next step should be executed in workflow.( only one Approval from N recipients ) - We need to send separate work item or Approval task to more than one approvers at
same time. If all the approvers approves then only the next step should be
executed in workflow.( N approvals from N recipients) - We need to send separate Work item or Approval task to more than one approvers in sequential
order of Approvers i.e. When First
approver approved then only second approver will receive work item.
- Sending Work item to multiple users at same time and we need only one approval among multiple
approvers.
If anyone approver approvers then that work item should be disappear from remaining Approvers inbox
Create Workflow container element to hold list of approvers with properties import and multiline.
Enter Multiple approvers as shown below.
Enter User id’s
Create User decision step
Enter Title for user Decision step.
In expression we need to assign Workflow container element table which contains Approvers.
Now this User decision work item will be received all approvers at same time and if one approver Approvers it then that work items
will be disappear from remaining Approvers inbox
2. Sending Work item to multiple users at same time and we need approvals from multiple approvers.
Create Workflow container element to hold list of approvers with properties import and multiline.
Enter Multiple approvers as shown below.
Enter user id’s.
Create Block Step
Select Block type ParForEach.
Assign Work flow container table which hold Approvers to Multiline Element
Maintain below binding
Create user decision step inside the block
Enter title and assign APPROVERS_LINE to Expression.
Now this User decision work item will be received all approvers at same time. So all the approvers can execute that work item.
3.Sending Work item to multiple users in sequential order. So work item will be forward for approval to Approvers one by one.
After Work item is Approved by first Approver then only Second Approver will receive that work item.
Create Workflow container element to hold list of approvers with properties import and multiline.
Enter multiple approvers as shown below.
Enter User id’s
Create Block step
Select Block type ForEach
Assign work flow container table which holds Approvers to
Multiline Element
Maintain Binding
Create user decision step.
Enter title and assign APPROVERS_LINE to Expression.
Create Work flow container Element to maintain End condition for block.
When Work item is rejected by any Approver at any level then work item must not be forwarded
for next approval and block step should be end . So we need to maintain end condition as shown below
Create Container operation under no path as shown above. And assign character ‘R’ to Work flow container element as shown below.
Now this User decision work item will be received all approvers in sequential order one by one. If any approver Reject work item then
next approver will not receive that work item for Approval
Thanks !! doc is very detailed and helpful .