AnsweredAssumed Answered

display value of process variable

Question asked by lucille.arkenstone on Mar 3, 2011
I tried setting the following properties in log4j.properties but to no avail.  Can someone please advise what am I doing wrong?

log4j.properties:
log4j.logger.org.alfresco.repo.jscript=debug
log4j.logger.org.alfresco.repo.workflow=debug

processdefinition.xml:
      <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
        <script>
          <variable name="wf_approveCount" access="read"/>
          <expression>logger.log("approve count: " + wf_approveCount);</expression>
        </script>
      </action>
Thanks

Outcomes