03-04-2010 04:34 AM
03-04-2010 08:32 AM
03-04-2010 09:49 AM
<aspect name="my:t1Assignee">
<associations>
<association name="my:t1Assignee">
<source>
<mandatory>false</mandatory>
<many>false</many>
</source>
<target>
<class>cm:person</class>
<mandatory>false</mandatory>
<many>false</many>
</target>
</association>
</associations>
</aspect>
<aspect name="my:t2Assignee">
<associations>
<association name="my:t2Assignee">
<source>
<mandatory>false</mandatory>
<many>false</many>
</source>
<target>
<class>cm:person</class>
<mandatory>false</mandatory>
<many>false</many>
</target>
</association>
</associations>
</aspect>
03-04-2010 11:21 AM
03-04-2010 11:45 AM
03-05-2010 04:49 AM
You would need a second bpm:assignee or something along the same lines. It'd probably be easiest to create your own aspects for each assignee, something like:
<aspect name="my:t1Assignee">
<associations>
<association name="my:t1Assignee">
<source>
<mandatory>false</mandatory>
<many>false</many>
</source>
<target>
<class>cm:person</class>
<mandatory>false</mandatory>
<many>false</many>
</target>
</association>
</associations>
</aspect>
<aspect name="my:t2Assignee">
<associations>
<association name="my:t2Assignee">
<source>
<mandatory>false</mandatory>
<many>false</many>
</source>
<target>
<class>cm:person</class>
<mandatory>false</mandatory>
<many>false</many>
</target>
</association>
</associations>
</aspect>
You'd set each of your assignees at the start of the workflow and assign each assignee their respective task.
03-05-2010 05:33 AM
03-05-2010 09:00 AM
<config evaluator="node-type" condition="my:submitNewRequest" replace="true">
<property-sheet>
<separator name="sep1" display-label-id="general" component-generator="HeaderSeparatorGenerator" />
<show-property name="bpm:workflowDescription" component-generator="TextAreaGenerator" />
<show-property name="bpm:workflowPriority" display-label-id="wf_review_priority" />
<show-property name="my:notifyMe" />
<show-property name="bpm:workflowDueDate" display-label-id="wf_review_due_date" />
<separator name="sep2" display-label-id="users_and_roles" component-generator="HeaderSeparatorGenerator" />
<show-association name="my:t1Assignee" display-label-id="wf_reviewer" />
<show-association name="my:t2Assignee" display-label-id="wf_reviewer" />
</property-sheet>
</config>
03-05-2010 10:31 AM
You'll have to update the start task properties in the web-client-config-custom.xml to allow for those aspects to be set.
<config evaluator="node-type" condition="my:submitNewRequest" replace="true">
<property-sheet>
<separator name="sep1" display-label-id="general" component-generator="HeaderSeparatorGenerator" />
<show-property name="bpm:workflowDescription" component-generator="TextAreaGenerator" />
<show-property name="bpm:workflowPriority" display-label-id="wf_review_priority" />
<show-property name="my:notifyMe" />
<show-property name="bpm:workflowDueDate" display-label-id="wf_review_due_date" />
<separator name="sep2" display-label-id="users_and_roles" component-generator="HeaderSeparatorGenerator" />
<show-association name="my:t1Assignee" display-label-id="wf_reviewer" />
<show-association name="my:t2Assignee" display-label-id="wf_reviewer" />
</property-sheet>
</config>
Something like that.
03-05-2010 11:19 AM
<swimlane name="firstReviewer">
<assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
<actor>#{bpm_package.children[0].assocs["mycm:myReferrenceToSite"][0].assocs["mycm:theCustomAspectYouWereToldToUse"][0].properties.userName}
</actor>
</assignment>
</swimlane>
<actor>#{companyhome.childByNamePath("MyCustomPlace").properties("somePropHoldingTheUsername")}</actor>
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.