[jboss-user] [jBPM] - Re: Designer variable definitions and constrains
Tihomir Surdilovic
do-not-reply at jboss.com
Tue Aug 9 10:36:14 EDT 2011
Tihomir Surdilovic [http://community.jboss.org/people/tsurdilovic] created the discussion
"Re: Designer variable definitions and constrains"
To view the discussion, visit: http://community.jboss.org/message/620140#620140
--------------------------------------------------------------
First, we are putting alot of time into adding designer documentation, so bear with us until this is done. In addition we are working on pretty editors for process and node properties - currently alot of them are text-based.
To answer your questions:
** process variable types **
Under Properties(BPMN Diagram), your process properties you will find a property called "Variable Definitions" where you can define process variables. Here you can define both the process variable names, as well as their type. For example if you enter there:
x:java.lang.String,y:java.lang.Object
this will produce the property definitions:
<bpmn2:property id="x" itemSubjectRef="_xItem"/>
<bpmn2:property id="y" itemSubjectRef="_yItem"/>
as well as the corresponding item definitions with the provided structureRef attribute values:
<bpmn2:itemDefinition id="_xItem" structureRef="java.lang.String"/>
<bpmn2:itemDefinition id="_yItem" structureRef="java.lang.Object"/>
So the sructure follows $varName:$varType and the whole list is comma-separated
** Condition Expression Language **
Yes, if you do not enter a value in this field, Designer will default to http://www.jboss.org/drools/rule http://www.jboss.org/drools/rule. You can enter in values here which are either "drools" or "mvel". For script tasks and onEntry/onExit actions of tasks, the allowed values of the script language are drools and java, with the default value set to http://www.java.com/java http://www.java.com/java if you do not enter in the value
Hope this helps.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/620140#620140]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110809/f81a9a63/attachment.html
More information about the jboss-user
mailing list