[jboss-user] [JBoss jBPM] - variable in process definition

AJanz do-not-reply at jboss.com
Fri Dec 19 07:47:44 EST 2008


is it possible to define a variable and its value in a process definition? 

for example something like


  | <?xml version="1.0" encoding="UTF-8"?>
  | 
  | <process-definition 
  |   xmlns="urn:jbpm.org:jpdl-3.2"
  |   name="simple">
  |    <variable name="var1" value="text" />
  |    <start-state name="start">
  |       <transition name="to_state" to="first">
  |          <action name="action" class="com.sample.action.MessageActionHandler">
  |             <message>Going to the first state!</message>
  |          </action>
  |       </transition>
  |    </start-state>
  |    <state name="first">
  |       <transition name="to_end" to="end">
  |          <action name="action" class="com.sample.action.MessageActionHandler">
  |             <message>About to finish!</message>
  |          </action>
  |       </transition>
  |    </state>
  |    <end-state name="end"></end-state>
  | </process-definition>
  | 

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

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



More information about the jboss-user mailing list