[jboss-user] [JBoss jBPM] - From "decision" to "join" possible?

unsavory do-not-reply at jboss.com
Tue Aug 11 15:23:53 EDT 2009


Is it possible to go directly from a decision to a join within an execution?

Example:
<fork name="agreement complete">
  | 		<transition to="send registration email" />
  | 		<transition to="check if language exam required" />
  | 	</fork>
  | 	
  | 	<java name="send registration email" expr="#{ mailService }" method="sendVendorOnboardingEmail">
  | 		<arg><object expr="#{ user }" /></arg>
  | 		<arg><string value="application/application_received.ftl" /></arg>
  | 		<transition to="screening join" />
  | 	</java>
  | 
  | <decision name="check if language exam required">
  | 		<transition to="complete zh language exam">
  | 			<condition expr="#{ user.jobApplication.language == 'zh' }" />
  | 		</transition>
  | 		<!-- <transition to="screening join">
  | 			<condition expr="#{ user.jobApplication.language != 'zh' }" />
  | 		</transition>  -->
  | 		<transition to="screening join" />
  | 	</decision>
  | 	
  | 	<task name="complete zh language exam" assignee="#{ user.stringId }">
  | 		<transition name="complete" to="screening join" />
  | 	</task>
  | 		
  | 	<join name="screening join">
  | 		<transition to="screen applicant" />
  | 	</join>

When I execute my process, it seems that the decision never passes through to the join.  The join is still in a wait state.  Am I missing something?

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

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



More information about the jboss-user mailing list