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.
<type name="seedim:archReview"> <parent>bpm:activitiOutcomeTask</parent> <properties> <property name="seedim:archReviewOutcome"> <type>d:text</type> <default>Approve</default> <constraints> <constraint name="seedim:archReviewOutcomeOptions" type="LIST"> <parameter name="allowedValues"> <list> <value>Approve</value> <value>Reject</value> </list> </parameter> </constraint> </constraints> </property> </properties> <overrides> <property name="bpm:packageItemActionGroup"> <default>edit_and_remove_package_item_actions</default> </property> <property name="bpm:outcomePropertyName"> <default>{http://www.seedim.com.au/model/workflow/1.0}archReviewOutcome</default> </property> </overrides> </type>
<task-node name="Test"> <task name="wf:test" swimlane="anyone"> <event type="task-end"> <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript"> <script> <variable name="wf_mytask" access="write"/> <expression> wf_mytask = taskInstance.actorId; </expression> </script> </action> </event> </task> <transition name="toNext" to="next"> <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript"> <script> <expression> var email = people.getPerson(wf_mytask).properties.email; var name = people.getPerson(wf_mytask).properties.firstName+" "+people.getPerson(wf_mytask).properties.lastName; </expression> </script> </action> </transition>