How to tell if user is approving multiple steps at the same time

If a status on a workflow has multiple user groups as approvers, and a user belongs to more than 1 of those user groups, the user would be presented with a popup asking which user groups he wants to approve for. I need to know in my pre-event PX which of the user groups were selected. Essentially I need to know how many approvals will be performed. How can I figure this out?

Add Comment
1 Answer(s)

Hello

  I don’t think there is a direct API for this

  However, you can get this by finding all usergroups tied to the current user. Then check how many of them are in the current approval step

Thanks

Raj

Agile Angel Answered on January 28, 2019.

Thank you Raj.

I can look to see how many user groups the user is assigned to but I need to know if there are multiple approvals, how many was selected on the popup screen. Please see attached screenshot.
The logic in my PX should only execute if hitting the <Approve> button on the popup screen results in advancing to the next status. For example, if the user only checks 1of the 2 available boxes, my PX logic should not execute.

RE: How to tell if user is approving multiple steps at the same time

on February 18, 2019.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.