Skip to Content

  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:    

  1. 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 )
  2. 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)
  3. 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.

  

  1. 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.

          
/wp-content/uploads/2014/08/1_521817.png
Enter Multiple approvers as shown below.

Enter User id’s

   /wp-content/uploads/2014/08/2_522033.png

Create User decision step

/wp-content/uploads/2014/08/3_521818.png

Enter Title for user Decision step.

In expression we need to assign Workflow container element table which contains Approvers.

/wp-content/uploads/2014/08/5_521840.png

     /wp-content/uploads/2014/08/6_521841.png

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.

/wp-content/uploads/2014/08/1_521817.png

Enter Multiple approvers as shown below.

Enter user id’s.

/wp-content/uploads/2014/08/2_522033.png

Create Block Step

/wp-content/uploads/2014/08/7_521845.png

  Select Block type ParForEach.

/wp-content/uploads/2014/08/8_521849.png

  Assign Work flow container table which hold Approvers to Multiline Element

/wp-content/uploads/2014/08/9_521850.png

Maintain below binding

/wp-content/uploads/2014/08/10_521851.png

Create user decision step inside the block

/wp-content/uploads/2014/08/11_521852.png

Enter title and assign APPROVERS_LINE to Expression.

/wp-content/uploads/2014/08/12_521853.png

/wp-content/uploads/2014/08/13_521854.png

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.

    /wp-content/uploads/2014/08/1_521817.png
    Enter multiple approvers as shown below.

    Enter User id’s

    /wp-content/uploads/2014/08/2_522033.png

Create Block step

/wp-content/uploads/2014/08/7_521845.png

Select Block type ForEach

/wp-content/uploads/2014/08/14_521953.png

Assign work flow container table which holds Approvers to
Multiline Element

/wp-content/uploads/2014/08/15_521957.png

Maintain Binding

/wp-content/uploads/2014/08/16_521958.png

Create user decision step.

/wp-content/uploads/2014/08/17_521959.png

Enter title and assign APPROVERS_LINE to Expression.

Create  Work flow container Element to maintain End condition for block.

/wp-content/uploads/2014/08/18_521969.png

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

/wp-content/uploads/2014/08/19_521970.png

/wp-content/uploads/2014/08/20_521971.png

Create Container operation under no path as shown above. And assign character ‘R’ to Work flow container element as shown below.

/wp-content/uploads/2014/08/21_521972.png

/wp-content/uploads/2014/08/22_521973.png

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

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply