cancel
Showing results for 
Search instead for 
Did you mean: 

Access to bpm_package

joeforte
Champ in-the-making
Champ in-the-making
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>
      …
2 REPLIES 2

joeforte
Champ in-the-making
Champ in-the-making
Sorry, accidentally I posted before ending my concept: I tried to do it but the code produced an exception and the bpm_package is undefined…. When can I use bpm_package and its properties?

Thanks to all in advance

joeforte
Champ in-the-making
Champ in-the-making
So, my problem is that I absolutely have to access to bpm_package.children.properties into timer tag. Is there a way?