starting on sub-process i realized that i better think out variable declarations as a
whole. i know of 4 places where we want to declare variables:
* process variables declarations
* activity variable declarations (state, task, super-state,...)
* task out variable declarations
* sub-process out variables
<process name="...">
| <variable name="processVariableName" type="..."
init="#{expression}">
| <init><string value="fixed string"/></init>
| <variable>
|
|
| <activity name="...">
| <variable name="activityScopedVariableName" type="..."
init="#{expression}">
| <init><string value="fixed string"/></init>
| <variable>
|
|
| <sub-process name='...'>
| <in-swimlane name="superProcessSwimlaneName"
sub-name="subProcessSwimlaneName" />
| <variable name="subProcessVariableName"
init="#{expression}">
| <init><string value="fixed string"/></init>
| <variable>
| <out-variable name="processVariableName"
init="#{expressionResolvedInSubProcessContext}">
| <transition>
| <outcome activity="subprocessactivity" />
| <outcome variable="subprocessvariable"><string
value="..." /></outcome>
|
|
| <task name="...">
| <variable name="taskVariableName" type="..."
init="#{expression}">
| <init><string value="fixed string"/></init>
| <variable>
| <out-variable name="processVariableName"
init="#{expressionResolvedInTaskContext}">
| <transition name="...">
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226312#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...