<DIV>Hello Mark,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thank you very much for your reply. I was in such a hurry to dig a trench through the forest that I didn't take a look at the big picture. I'll do as you have suggested and use the two start conditions - a very good tip. I'll also be mindful in the future not to use my 'check step and terminate' bad design model. Thanks again!</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Cheers</DIV>
<DIV>&nbsp;</DIV>
<DIV>Loren<BR><BR><B><I>Mark Pyc &lt;markpyc@hotmail.com&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">G'day Loren,<BR><BR>You're right, WF is fun!<BR><BR>You may want to consider having two versions of the Workflow and using Start <BR>Conditions.<BR><BR>Cond 1.<BR>If amount is &lt;=10000 and doc type = B3 start Workflow A<BR>Cond 2.<BR>If amount is &gt;10000 and doc type = B3 start Workflow B<BR><BR>This allows you to have a very simple design in each Workflow. In WF A you <BR>have a single approval step. In WF B you'll have three steps, 1 for each of <BR>the approval levels.<BR><BR>This also gets rid of the 'check step' you mentioned which terminates the WF <BR>- a big no-no in terms of design. Every WF that triggers writes multiple <BR>entries to the DB all of which are pointless if you throw the process away <BR>as soon as it starts.<BR><BR>The logic of where the approval process is up to is normally held in the WF <BR>rather than in the rule. I don't think you'll need a p!
 rogrammed
 rule to <BR>handle the situation you describe.<BR><BR>Have fun,<BR>Mark<BR><BR><BR><BR>From: Loren Huffman <HUFFEDIGUY@YAHOO.COM><BR>Reply-To: "SAP Workflow Users' Group" <SAP-WUG@MIT.EDU><BR>To: sap-wug@mit.edu<BR>Subject: A WF design question from a new guy<BR>Date: Thu, 20 Jan 2005 10:47:56 -0800 (PST)<BR><BR><BR>Hello everyone,<BR><BR>I am new to this and would appreciate any and all responses. We are on 4.7 <BR>and don't use the HR module but I can create org structures. I have been <BR>asked to do a Credit Memo Request WF for document type B3.<BR><BR>This is my second WF and the first to go into production. I found the <BR>template (copied it and the subworkflow) and added a step to check for doc <BR>type B3 and if it is not then cancel the workflow, this seems to work fine. <BR>The next hurdle is to get the approval sequence setup. They want person A to <BR>approve up to $1,000. For amounts up to $10,000, they want person A to first <BR>approve and then person B. Any!
  amount
 over $10,000 would be approved by <BR>person A, then person B and then person C. I thought that I would try a <BR>responsibility rule but I don't think that would check if the workflow had <BR>been approved in sequence.<BR><BR>It looks like the responsibility rule would route it to just one user based <BR>on amount. Should I ask the ABAP programmer to help me build a function <BR>module to somehow check amount and if it had been approved and then either <BR>move to next user or complete the workflow, and would I place the fm in the <BR>subworkflow task in the Methods Before workitem execution? Agent <BR>determination is a bit confusing to me still.<BR><BR>I took BC601 over three years ago and have been the EDI guy ever since, and <BR>now they want to do a bunch of workflow projects. Workflow seems like it <BR>will be lots of fun but I'm having a bit of a struggle getting up to speed <BR>in the short time they have allowed. I currently have myself (user) <BR>hardcoded in eac!
 h task
 with the responsible agent variable in the main <BR>workflow as the subworkflow number -WS20000019. I did this to show a demo of <BR>what I've done. They did not like being forced to view the actual document <BR>once I executed the item in my inbox. I told them that I didn't know how to <BR>not do that. I was thinking that if they don't review the document then why <BR>have an approval process. Anyway I would like to thank you in advance for <BR>your suggestions.<BR><BR>Cheers<BR><BR>Loren<BR><BR><BR><BR>---------------------------------<BR>Do you Yahoo!?<BR>Yahoo! Search presents - Jib Jab's 'Second Term'<BR>_______________________________________________<BR>SAP-WUG mailing list<BR>SAP-WUG@mit.edu<BR>http://mailman.mit.edu/mailman/listinfo/sap-wug<BR><BR><BR>_______________________________________________<BR>SAP-WUG mailing list<BR>SAP-WUG@mit.edu<BR>http://mailman.mit.edu/mailman/listinfo/sap-wug<BR></BLOCKQUOTE><p>
                <hr size=1>Do you Yahoo!?<br> 
Yahoo! Search presents - <a href="http://us.rd.yahoo.com/evt=30648/*http://movies.yahoo.com/movies/feature/jibjabinaugural.html">Jib Jab's 'Second Term'</a>