Implementing a parallel submission workflow OR vs. AND

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2007 08:20 PM
The default WCM workflow in Alfresco "Web Site Submission (Submit changes for approval)" implements a parallel submission process
where all the people mentioned in the group have to give their approval in order for the item to become approved. (AND)
I am trying to tweak the workflow in order to have anybody in the group approving transitioning the item to the Approved state. (OR)
I modified the default submit_processdefinition.xml along the following guidelines:
However it doesn't seem to be sufficient and keeps requiring everybody in the group to approve.
Anybody tried successfully or knows what is missing/wrong?
Thanks.
where all the people mentioned in the group have to give their approval in order for the item to become approved. (AND)
I am trying to tweak the workflow in order to have anybody in the group approving transitioning the item to the Approved state. (OR)
I modified the default submit_processdefinition.xml along the following guidelines:
<join name="joinparallelreview"> <event type="node-enter"> <script> node.nOutOfM = 1; </script> </event> <transition to="endreview" /> </join> […] <decision name="endreview"> <transition name="rejected" to="rejected" /> <transition name="approved" to="onapprove"> <condition>#{wcmwf_approveCnt == 1}</condition> </transition> </decision>
However it doesn't seem to be sufficient and keeps requiring everybody in the group to approve.
Anybody tried successfully or knows what is missing/wrong?
Thanks.
Labels:
- Labels:
-
Archive
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2007 11:46 AM
The modification works - I've used that pattern several times. Have you redeployed your modified workflow?
