[
http://jira.jboss.com/jira/browse/JBPM-613?page=comments#action_12367822 ]
Ronald van Kuijk commented on JBPM-613:
---------------------------------------
This should either also include a type like
<variable name="documentType" access="read" value="RTF"
type="String"/>
OR a different format like
<variable name="documentType" access="read">
new String("RTF");
</variable>
in bsh format or something like that.
Improve variable support
------------------------
Key: JBPM-613
URL:
http://jira.jboss.com/jira/browse/JBPM-613
Project: JBoss jBPM
Issue Type: Feature Request
Components: Core Engine
Reporter: J.Enrique Ruiz
Assigned To: Tom Baeyens
Priority: Minor
Hi,
The JPDL variable element can be used to share info with a new process instance created
in a process-state. Sometimes, it is interesting to set the value of a variable in the
JPDL, for example:
<process-state name="cms">
...
<variable name="documentType" access="read" value="RTF"
/>
...
</process-state>
Currently, we have a ActionHandler that has been defined in the node-enter event. This
ActionHandler puts the values in the variable map of the parent process instance, but the
new feature can simplify it.
Best regards.
--
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