Scenario for Wait event

Albina Fernando albinafernando at gmail.com
Mon Nov 26 19:38:15 EST 2007


Hi,

  I have a scenario wherein the wrokitem is sent to many approvers at the
same time. For this I've used a Fork, that has 4 branches

1) one branch that contains a subworkflow ,
2) one branch that will send an email to all the approvers,
3) one branch that will wait for the approvers decision,
4) one branch in which there is a deadline date of 8 days set. Under
Requested Start tab, the deadline of 8 days is given using an expression. So
after 8 days, if still the approval is not complete, then this branch will
execute and it will terminate the workflow

the first branch, will send work items to all approvers at the same time.
Now when each workitem is complete i.e each approver approves/rejects, then
the Outcome "Step Executed" will execute and it will trigger a Wait event
say WaitforApproverDecision(i.e it will capture the approvers decision) and
once this trigger event is complete, it will again trigger an event
ApproverdecisionUpdt(here an event creator is used) to go to the main
workflow and execute the 3rd branch in the main workflow. the 3rd branch
contains a loop until step type that will keep track of the # of approvers
approved and also it will update each approvers decisionm comments etc into
a Ztable, and it will again wait for an event to trigger from the
subworkflow.

Now here the problem is if one approver approves, then it will start with
the execution as mentioned above. Now if there is a delay in the completion
of event ApproverdecisionUpdt and updation of the Ztable via the main
workflow, then what will happen in that case. And again another approver
approves by that time, then will the receiver receive the event
ApproverdecisionUpdt accordingly.

I'm not sure if anyone has come across this scenario.  But please let me
know your inputs for the same.

Attached are the graphical views of the main workflows and the subworkflows.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20071126/32a3205e/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Workflow_Graphic_VC.jpg
Type: image/jpeg
Size: 232357 bytes
Desc: not available
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20071126/32a3205e/attachment.jpg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Workflow_Graphic_VC_WI_UPDT.jpg
Type: image/jpeg
Size: 49034 bytes
Desc: not available
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20071126/32a3205e/attachment-0001.jpg


More information about the SAP-WUG mailing list