<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2722" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=344335320-17082005><FONT face=Arial 
color=#0000ff size=2>Hi Raja,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=344335320-17082005><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=344335320-17082005><FONT face=Arial 
color=#0000ff size=2>If you have a step that only sometimes needs to be 
executed, then add a condition step before it to check the condition and avoid 
executing the step.&nbsp; In your case, check to see if the supervisor and the 
BGO are the same.&nbsp; If the condition is true,&nbsp;drop through to the step 
after.&nbsp; If the condition is false, execute the user decision 
step.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=344335320-17082005><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=344335320-17082005><FONT face=Arial 
color=#0000ff size=2>You may also have to add a background step to execute your 
business logic to determine the supervisor and BGO prior to the condition to 
ensure the data you want to check is available from the workflow 
container.</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> sap-wug-bounces@mit.edu 
[mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of </B>Mark Pyc<BR><B>Sent:</B> 
Tuesday, August 16, 2005 10:27 AM<BR><B>To:</B> SAP Workflow Users' 
Group<BR><B>Subject:</B> Re: Work Item - User Decision Step 
Issue<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>G'day Raja,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Big tip that keeps getting repeated - don't tell us it's urgent. It has the 
opposite effect than you'd hope.</DIV>
<DIV>&nbsp;</DIV>
<DIV>You mentioned who it shouldn't go to, and that you don't want it going to 
the 'wrong agent'. You never mention who it should logically go to when 
Supervisor and Business Group Owner are same.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Your role either should return the desired agent or fail with error. 
Otherwise it would normally go to the possible agents. </DIV>
<DIV>&nbsp;</DIV>
<DIV>I think you need to give us a bit more detail.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Have fun,</DIV>
<DIV>Mark<BR><BR>&nbsp;</DIV>
<DIV><SPAN class=gmail_quote>On 16 Aug 2005 15:02:57 -0000, <B 
class=gmail_sendername>Raja Sekhar</B> &lt;<A 
href="mailto:rajakmca@rediffmail.com">rajakmca@rediffmail.com</A>&gt; 
wrote:</SPAN> 
<BLOCKQUOTE class=gmail_quote 
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
  <P>Hi,<BR>I had created one decision step, which had a rule, which is defined 
  by me. Well, I coded the rule such a way that if the Supervisor and Business 
  Group Owner are same then dont populate the ACTOR TABLE. The rule is working 
  fine ,as long as the SUPERVISOR is different from Business Group Owner.(I used 
  my own Business Logic to determine the Supervisor and Business Group Owner) 
  <BR><BR>But the real problem is when both the Supervisor and BGO are same. The 
  Actor Table is not getting populated with any entry, but the work item is 
  going to some UNDESITINED USER. Sometimes the work item is coming to the 
  WORKFLOW INITIATOR himself. This sounds quiet foolish. But this is happening. 
  <BR><BR>Now is there any way to continue the Workflow process to the next 
  step, when the Agent is not determined. My flow should not stop at this point, 
  due to lack of AGENT, and at the same time , it should not go to the wrong 
  user, but the flow should cooly goto the next step which is present after this 
  USER DECISION STEP... <BR><BR>Can anyone help me in this regards.<BR>It's 
  pretty URGENT.<BR><BR>Regards,<BR>Raja Sekhar&nbsp; <BR></P><BR><BR><A 
  onclick="return top.js.OpenExtLink(window,event,this)" 
  href="http://adworks.rediff.com/cgi-bin/AdWorks/sigclick.cgi/www.rediff.com/signature-home.htm/1507191490@Middle5?PARTNER=3" 
  target=_blank><IMG hspace=0 border=0 NOSEND="1"></A> 
  <BR>_______________________________________________<BR>SAP-WUG mailing 
  list<BR><A onclick="return top.js.OpenExtLink(window,event,this)" 
  href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</A><BR><A 
  onclick="return top.js.OpenExtLink(window,event,this)" 
  href="http://mailman.mit.edu/mailman/listinfo/sap-wug" 
  target=_blank>http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR><BR><BR></BLOCKQUOTE></DIV><BR></BODY></HTML>

<P>------------------------------------------------------------------------------<br>
This e-mail is intended for the use of the addressee(s) only and may contain privileged, confidential, or proprietary information that is exempt from disclosure under law.  If you have received this message in error, please inform us promptly by reply e-mail, then delete the e-mail and destroy any printed copy.   Thank you.<br>
==============================================================================</P>