PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-43585

Unable to retrieve information of the task instance from the script context

    Details

    • Branch Version/s:
      6.2.x, 6.1.x
    • Backported to Branch:
      Committed
    • Fix Priority:
      3
    • Similar Issues:
      Show 5 results 

      Description

      During the Kaleo Task node execution, specially after the task is completed (onExit), it's useful to have information about the user who completed the task. That support was added on LPS-42484. However, for that to work the KaleoTaskIntanceToken object needs also to be present on the ExecutionContext. This LPS fix this issue.

      The following script should output the user who completed the task.

      <action>
      	<name>approve</name>
      	<script>
      		<![CDATA[
      			println("Completion User: " + userId);
      		]]>
      	</script>
      	<script-language>groovy</script-language>
      	<execution-type>onExit</execution-type>
      </action>
      

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 14 weeks, 2 days ago

                Development

                  Structure Helper Panel