cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the count of users selected in workflow approval?

prasobhraj
Star Contributor
Star Contributor

Hi,

I have a workflow where i used one association for user selection for approval of workflow like below. i need to move the workflow once all the selected users either approve or reject the document. some functionality same as parallel review workflow in alfresco. but here i need to the condion based on the count of selected users. Please help me to sort this out

                <association name="abc:approver">
                    <title>QC Inspector</title>
                    <source>
                        <mandatory>false</mandatory>
                        <many>false</many>
                    </source>
                    <target>
                        <class>cmSmiley Tongueerson</class>
                        <mandatory>false</mandatory>
                        <many>false</many>
                    </target>
                </association>

1 ACCEPTED ANSWER

I got it by using abc_approver.size();

Thanks,

Prasobhraj

View answer in original post

2 REPLIES 2

prasobhraj
Star Contributor
Star Contributor

Edit in association

<association name="abc:approver">
                    <title>QC Inspector</title>
                    <source>
                        <mandatory>true</mandatory>
                        <many>true</many>
                    </source>
                    <target>
                        <class>cmSmiley Tongueerson</class>
                        <mandatory>true</mandatory>
                        <many>true</many>
                    </target>
                </association>

I got it by using abc_approver.size();

Thanks,

Prasobhraj