Andy McC
2013-05-03 16:30:30 UTC
Andy McC [https://community.jboss.org/people/andymcc] created the discussion
"Where is the built-in "task" parameter defined?"
To view the discussion, visit: https://community.jboss.org/message/811472#811472
--------------------------------------------------------------
In the task forms that come with the Evaluation example there is the following line
*${task.descriptions[0].text}*
According to the documentation ( http://docs.jboss.org/jbpm/v5.4/userguide/ch.console.html#d0e4922 http://docs.jboss.org/jbpm/v5.4/userguide/ch.console.html#d0e4922) this is a built-in parameter available to all User tasks.
The above link says that more information can be found at http://docs.jboss.org/jbpm/v5.4/userguide/ch.human-tasks.html#d0e4970 http://docs.jboss.org/jbpm/v5.4/userguide/ch.human-tasks.html#d0e4970 but I can't find anything that defines the structure of the "task" parameter and nothing that takes the name "descriptions".
However, from experimenation it appears that ${task.descriptions[0].text} points to the "Comment" field of the task definition.
Can anyone point me at some documentation on this feature?
Thanks!
Andy McC
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/811472#811472]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
"Where is the built-in "task" parameter defined?"
To view the discussion, visit: https://community.jboss.org/message/811472#811472
--------------------------------------------------------------
In the task forms that come with the Evaluation example there is the following line
*${task.descriptions[0].text}*
According to the documentation ( http://docs.jboss.org/jbpm/v5.4/userguide/ch.console.html#d0e4922 http://docs.jboss.org/jbpm/v5.4/userguide/ch.console.html#d0e4922) this is a built-in parameter available to all User tasks.
The above link says that more information can be found at http://docs.jboss.org/jbpm/v5.4/userguide/ch.human-tasks.html#d0e4970 http://docs.jboss.org/jbpm/v5.4/userguide/ch.human-tasks.html#d0e4970 but I can't find anything that defines the structure of the "task" parameter and nothing that takes the name "descriptions".
However, from experimenation it appears that ${task.descriptions[0].text} points to the "Comment" field of the task definition.
Can anyone point me at some documentation on this feature?
Thanks!
Andy McC
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/811472#811472]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]