<font size=2 face="sans-serif">Hi Shai,</font>
<br>
<br><font size=2 face="sans-serif">What a coincidence, I was just trying
to figure out the same issue.</font>
<br>
<br><font size=2 face="sans-serif">In my case an event triggers a workflow.
A BO also gets transferred from event to Workflow (through binding). One
of the BO's virtual attribute is used in WF for condition evaluation. Many
a times this condition fails (does not work as expected). But when I retrigger
the event, workflow triggers and behaves as expected. </font>
<br>
<br><font size=2 face="sans-serif">I will try using event que.</font>
<br>
<br><font size=2 face="sans-serif">Thanks<br>
Krishna Kishor Kammaje <br>
SAP Certified Development Associate - ABAP with Netweaver 7.0<br>
| HRMS LCM Team | Manyata | D3 | 9th Floor | MD3-9F-A113 | Mob: +91 990
100 0799 | Direct - Xtn: 080 280-62953 |<br>
</font>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">Shai Eyal &lt;shai.eyal@yahoo.com&gt;</font>
<br><font size=1 color=#5f5f5f face="sans-serif">To: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">sap-wug &lt;sap-wug@mit.edu&gt;</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">02/02/2011 17:04</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject: &nbsp; &nbsp;
&nbsp; &nbsp;</font><font size=1 face="sans-serif">Virtual attributes
evaluation and performance</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Sent by: &nbsp; &nbsp;
&nbsp; &nbsp;</font><font size=1 face="sans-serif">sap-wug-bounces@mit.edu</font>
<br>
<hr noshade>
<br>
<br>
<br><font size=2 color=blue face="Tahoma">Hi all,</font>
<br><font size=2 color=blue face="Tahoma">&nbsp;</font>
<br><font size=2 color=blue face="Tahoma">I wanted to ask for you help
with the issue in subject. I use virtual attribute quite often and it works
OK. However I have one client where I suspect having performance issues
with virtual attributes. Example: Simple approval workflow, agent is determined
using a rule. Rule container if filled from BOR virtual attribute. Often
the workflow goes into error for &quot;Agent determination failed&quot;.
I click &quot;Restart after error&quot; and now all works well. In addition,
the problem only happens in production system. To me it feels like sometimes
virtual attributes are not calculated immediately. This client posts many
transactions every day but I believe SAP should know to handle it</font>
<br><font size=2 color=blue face="Tahoma">I would also like to mention
that the virtual attribute code is quite simple (no select statement or
such).</font>
<br><font size=2 color=blue face="Tahoma">&nbsp;</font>
<br><font size=2 color=blue face="Tahoma">Has anyone experienced something
like this before? any recommendations? BTW, working with event queue handles
this properly.</font>
<br><font size=2 color=blue face="Tahoma">&nbsp;</font>
<br><font size=2 color=blue face="Tahoma">Thanks,<br>
 </font>
<p><font size=2 color=#000080 face="Verdana"><b>Regards,<br>
Shai Eyal</b></font>
<p><font size=2 color=#000080 face="Verdana"><b>SAP Logistics senior consultant<br>
SAP Workflow &amp; BPM specialist</b></font>
<p><a href=http://www.linkedin.com/in/shaieyal target=_blank><font size=2 color=blue face="Verdana"><b><u>http://www.linkedin.com/in/shaieyal</u></b></font></a>
<p><font size=2 color=blue face="Tahoma"><br>
 </font>
<p><tt><font size=2>_______________________________________________<br>
SAP-WUG mailing list<br>
SAP-WUG@mit.edu<br>
</font></tt><a href="http://mailman.mit.edu/mailman/listinfo/sap-wug"><tt><font size=2>http://mailman.mit.edu/mailman/listinfo/sap-wug</font></tt></a><tt><font size=2><br>
</font></tt>
<p>