AnsweredAssumed Answered

Get the workflow name

Question asked by chicco0386 on Feb 1, 2011
Latest reply on Mar 2, 2011 by chicco0386
Hi all,
I'm try to get the name of the workflow inside a Javascript action and log it, but I've an error.
My code is:
<start-state name="Start">
      <task name="wfTria:inizio" swimlane="initiator"></task>
      <event type="node-leave">
         <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
            <runas>admin</runas>
            <script>
               logger.log("Workflow name: "+bpm_workflowDescription);
                      </script>
         </action>
      </event>
      <transition to="Decidi numero e nome progetto"></transition>
   </start-state>

Can you help me?
Thank you

Outcomes