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.
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript"> <runas>admin</runas> <script> <expression> var mail = actions.create("mail"); mail.parameters.to = initiator.properties["cm:email"]; mail.parameters.subject = "Content Approved"; comment = ""; if (token.comments.size() > 0) comment = token.comments.get(0).message; mail.parameters.text = "User has Approved the Content.!" + "\n" + "Comments : \"" + token.comments.get(0).message + "\"" + "\n" + "Description : \"" + bpm_workflowDescription + "\""; mail.execute(bpm_package); </expression> </script> </action>
<process-definition xmlns="urn:jbpm.org:jpdl-3.1" name="scwf:MyCom">