[
http://jira.jboss.com/jira/browse/JBPM-679?page=all ]
Thomas Diesler resolved JBPM-679.
---------------------------------
Resolution: Out of Date
Add support for specifying process context variable values in the
process definition xml
----------------------------------------------------------------------------------------
Key: JBPM-679
URL:
http://jira.jboss.com/jira/browse/JBPM-679
Project: JBoss jBPM
Issue Type: Feature Request
Components: Core Engine
Affects Versions: jBPM 3.1.1
Reporter: Charles Crouch
Assigned To: Tom Baeyens
Priority: Minor
See forum posting for a full description. Basically it would be handy to be to do
something like:
<process-definition name='super'>
<process-state name='p'>
<mycontextvariable>myvalue</mycontextvariable>
<sub-process name='sub' />
<transition to='q' />
</process-state>
<process-state name='q'>
<mycontextvariable>myvalue2</mycontextvariable>
<sub-process name='sub' />
</process-state>
</process-definition>
and
<process-definition name='sub'>
...
<action class='org.jbpm.tutorial.action.MyActionHandler'/>
...
</process-definition>
and then have MyActionHandler in the sub process do:
Object object =
executionContext.getContextInstance().getVariable("mycontextvariable");
and have it pick up either myvalue or myvalue2 depending on which part of the process it
was being called from
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira