cancel
Showing results for 
Search instead for 
Did you mean: 

How can I get value from last page?

evan
Champ in-the-making
Champ in-the-making
Hi All,

       My alfresco is 3.2r , I have defined a "UserId" in my workflow , after I fill in "userid" and start workflow , the next task can work , but no value in "userID" . I have try to set value in my processdefinition such as

<task name="vacation:submitHelloworldTask" swimlane="initiator" >  

  <event type="task-create">

  <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">

    <script>            

        taskInstance.setVariable("vacation_userId","cause");
      

    </script>

  </action>

  </event>

  </task>
it is fail ,how can I get and show out the value? thanks,
2 REPLIES 2

evan
Champ in-the-making
Champ in-the-making
who can help me to get value?

hsohaib
Champ on-the-rise
Champ on-the-rise
use "executionContext" instead of "taskInstance"