The number of branch of fork step.

Dr. Ulrich Mende wug at mende-edv-beratung.de
Fri Jun 8 04:30:35 EDT 2001


Hi Kim -
here is my solution for your problem. You don=A2=A5t need any branches =
in your workflow.=20
Just follow the steps in the powerpoint:
  a.. Create workflow container parameters, esp. multiline element =
Voters with all voters you want to address, import it to the workflow or =
just fill it in a separate batch step or virtual property.
  b.. Set your vote step to "dynamical parallel": Last Page "Extras", =
fill in the Voters there.
  Now your step appears as a multistep in the workflow editor and you =
will get automatically as many parallel W-Items as you have entries in =
the voters table at runtime.
  c.. Set the agent of your step to "Voters with index"   (&Voters()&). =
This assigns the n-th voter to the n-th parallel step.
  d.. Add container operations to count the pros and contras of the =
voters
  e.. Calculate the results of the vote
Just a remark:
If your vote needs to end with a majority of, say 2/3 =3D 67%, it can be =
usefull, to abort the dynamic parallel step.
Example:  12 entries in voters table, but already 5 voted with "Contra". =
Now it makes no sense to go one with the voting since a 67% majority can =
not be reached any more.
To abort your voting you can use a fork (type1 of 2). Create an abort =
event in the "Contra"-part and a corresponding event receiver in the =
second brach of the fork.=20
 
Best regards  Uli
 
 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20010608/6dbd3f62/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vote_wf.ppt
Type: application/x-mspowerpoint
Size: 25088 bytes
Desc: not available
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20010608/6dbd3f62/attachment.bin


More information about the SAP-WUG mailing list