JBoss Community

Where is the built-in "task" parameter defined?

created by Andy McC in jBPM - View the full discussion

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) 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 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

Start a new discussion in jBPM at Community