AnsweredAssumed Answered

published Child

Question asked by maddy on Jan 29, 2014
Latest reply on Jan 29, 2014 by jpotts
hay any one help me in workflow

i have a document which have multiple child and also child inside child so now i m making doc as published state. like::
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
            <script>
               var doc = bpm_package.children[0];
               doc.properties['cch:contentState']= "Editing In Process";
               doc.save();
                </script>
         </action>

so can anyone one let me know that how we published child and child inside child of content satate of this document.

Outcomes