AnsweredAssumed Answered

Access to bpm_package

Question asked by joeforte on Jul 17, 2012
Latest reply on Jul 17, 2012 by joeforte
Can I access to bpm_package.children into the process-definition before my task is started?

So, my code is:



<timer duedate="2 minutes" repeat="2 minutes">
        <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
       <script>
                    if (bpm_package != null &amp;&amp; bpm_package.children != null
                  &amp;&amp; bpm_package.children.length &gt; 0)
               {
                  logger.log( bpm_package.children[0]);
               }

               </script>
           </action>
      …

Outcomes