[jboss-user] [JBoss jBPM] - Re: BPEL beta2 - switch condition boolean true/false

KVAK_TNT do-not-reply at jboss.com
Fri Oct 6 08:51:14 EDT 2006


There seems to be something wrong with the condition itself.

I've tried the following code and it wasn't working...
<case condition="1 = 1">

So here is the whole code - maybe you can see some errors?


  | <switch>
  | 	<case condition="1 = 1">
  | 		<assign name="set_App_PDFViewer">
  | 			<copy>
  | 				<from part="Ticketnumber" variable="agilproReq"/>
  | 				<to part="Ticketnumber" variable="setAppReq"/>
  | 			</copy>
  | 		<invoke inputVariable="setAppReq" operation="setApp" partnerLink="agilpro" portType="agi:AgilproIssuer"/>
  | 		...
  | 	</case>
  | 	<case condition="bpel:getVariableData('checkGuardRes', 'ValueOUT') = 0">
  | 		<!--NOTHING TO DO HERE-->
  | 		<empty />
  | 	</case>
  | </switch>
  | 

Normally this code would be my condition:

  | <case condition="bpel:getVariableData('checkGuardRes', 'ValueOUT') = 1">
  | 

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976571



More information about the jboss-user mailing list