cancel
Showing results for 
Search instead for 
Did you mean: 

Implementing a parallel submission workflow OR vs. AND

fmurialdo
Champ in-the-making
Champ in-the-making
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:
   <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.
1 REPLY 1

davidc
Star Contributor
Star Contributor
The modification works - I've used that pattern several times.  Have you redeployed your modified workflow?