Scenario for Wait event

John A Haworth jhoworth at csc.com
Tue Nov 27 05:10:40 EST 2007


Hi

What is it you send to the approver, How do you capture the Approvers 
comments and the approvers reject or accept, and bring them back into the 
workflow.

Cheers

John

CSC Computer Sciences Limited
Registered Office: Royal Pavilion, Wellesley Road, Aldershot, Hampshire, 
GU11 1PZ, UK
Registered in England No: 0963578

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please 
delete without copying and kindly advise us by e-mail of the mistake in 
delivery. 
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to 
any order or other contract unless pursuant to explicit written agreement 
or government initiative expressly permitting the use of e-mail for such 
purpose.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------




"Albina Fernando" <albinafernando at gmail.com> 
Sent by: sap-wug-bounces at mit.edu
27/11/2007 00:38
Please respond to
"SAP Workflow Users' Group" <sap-wug at mit.edu>


To
SAP-WUG at mit.edu
cc

Subject
Scenario for Wait event






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.
 _______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20071127/b60688c3/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/20071127/b60688c3/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/20071127/b60688c3/attachment-0001.jpg


More information about the SAP-WUG mailing list