[jboss-jira] [JBoss JIRA] Commented: (JBPM-569) improve EL expression examples in the user guide
Arjan van Bentem (JIRA)
jira-events at lists.jboss.org
Tue Feb 20 14:50:35 EST 2007
[ http://jira.jboss.com/jira/browse/JBPM-569?page=comments#action_12353712 ]
Arjan van Bentem commented on JBPM-569:
---------------------------------------
This might include changing 'deprecated' into 'no longer supported' in lines 1690 and 1691 of jpdl.xml:
http://fisheye.jboss.com/browse/JBPM/jbpm.3/jpdl/userguide/en/modules/jpdl.xml?r=1.3
1690 <entry>{content} For backwards compatibility, the condition can also be entered with the 'expression'
1691 attribute, but that attribute is deprecated since 3.2</entry>
[ In 2.3.Beta2 'deprecated' seems to imply it is ignored without any warning. When using "Deploy Process Archive" in the Eclipse GPD 3.0.13.1 (as included in the 2.3.Beta2 Suite) then the condition is simply not persisted in JBPM_TRANSITION. This could be a problem of the GPD, but as I assume the GPD simply deploys processdefinition.xml without interpreting it, the attribute is probably ignored somewhere in the jPDL sources. ]
It might also include noting that context variables may be accessed using either, for example,
#{ quantity > 2 }
or
#{ contextInstance.variables['quantity'] > 2 }
or
#{ contextInstance.variables.quantity > 2 }
That is: if I understand correctly...!
Arjan.
> improve EL expression examples in the user guide
> ------------------------------------------------
>
> Key: JBPM-569
> URL: http://jira.jboss.com/jira/browse/JBPM-569
> Project: JBoss jBPM
> Issue Type: Task
> Components: Core Engine
> Reporter: Tom Baeyens
> Assigned To: Tom Baeyens
> Fix For: jBPM jPDL 3.2
>
>
--
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
More information about the jboss-jira
mailing list