3 Replies Latest reply on May 13, 2013 1:38 AM by Maciej Swiderski

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

    Andy McC Newbie

      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