09-18-2009 12:16 PM
09-22-2009 11:23 AM
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<script>
<expression>
var currentUser = (person.properties["userName"]);
wf_NextParticipant = currentUser;
</expression>
<variable name="wf_NextParticipant" access="read,write"/>
</script>
</action>
All that is doing is setting the name of the current user to a variable. You could do the same with a property.
<assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
<actor>#{people.getPerson(NextParticipant).properties["cm:userName"]}</actor>
</assignment>
09-22-2009 01:38 PM
11-18-2009 07:49 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.