AnsweredAssumed Answered

How can I get value from last page?

Question asked by evan on Aug 31, 2010
Latest reply on Sep 2, 2010 by hsohaib
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,

Outcomes