i am using 3.1.2 and script works for my use cases.  

Can you post the specific code that is having problems?  Here is a sample of 
script code I use, where contractSummary is a variable placed into the workflow 
context in Java code:


  |    <decision name="Needs Second Approval?" expression='#{ ( 
contractSummary.totalAmount > 1000 ) ? "Yes" : "No" }'>
  |             <transition to="Contract Approval" name="Yes"></transition>
  |             <transition to="Needs Staff Assignment?" name="No">
  |                     <script>
  |                             <expression>
  |                               approvedAmount = contractSummary.totalAmount;
  |                             </expression>
  |                             <variable name='approvedAmount' access='write' 
/>
  |                     </script>       
  |             </transition>
  |     </decision>
  | 



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032177#4032177

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4032177
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to