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

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Established Member

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

Jump to solution

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 Solution

Accepted Solutions
Highlighted
Established Member

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

Jump to solution

I got it by using abc_approver.size();

Thanks,

Prasobhraj

View solution in original post

2 Replies
Highlighted
Established Member

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

Jump to solution

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>

Highlighted
Established Member

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

Jump to solution

I got it by using abc_approver.size();

Thanks,

Prasobhraj

View solution in original post