As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<task-node name="adhoc"> <task name="wf:adhocTask" swimlane="assignee"> </task> <transition name="" to="completed"> <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript"> <script> logger.log("trying to create file and make it versionable"); var doc1 = bpm_package.children[0]; var trans1 = doc1.transformDocument("application/pdf"); </script> </action> </transition> </task-node>