Approval count

image

image

I’m creating a workflow that requires the approvals of multiple people. It supposed to count the number of required approvals and count the approvals it currently has until it equals the required approvals. However, when I try to approve of it myself it doesn’t count it; the counter stays at 0. When I reset my workflow for the document, it reads my approval and it goes to the next step of the workflow. Is there any solution on this?

Note: Whenever I was testing this a month ago, it worked perfectly fine and now it doesn’t read the proper count.

Looks like the condition being evaluated for your branches is “approv” while your true/false output variable from the Compare Verify task is “isapproved” and therefore doesn’t match up. This is just based on the single screenshot in your post.

Not sure how you are requesting each approval, but there is also the $Is Approved system variable which does this comparison for you. Just throwing that out there in case it’s useful.

Thank you for finding that typo. I switched it back to “approv” and the error still persists. I have created 3 branches where at a certain price it’ll go to specific people, requesting their approvals based on the price range. I tried $Is Approved and I recorded the workflow, and it says it is false.

The $Is Approved variable will evaluate to True once all requested approvals (or denials) have been completed.

Ie. If you have three requested approvals and only two have been completed, then $Is Approved will be False.

If you could provide more of the recording to display the preceding actions and steps then perhaps something would jump out. Unfortunately, there doesn’t appear to be enough information here to troubleshoot the issue.

For this example, I am only requested one approval(myself). After approving of it, I am stuck waiting for the branch condition to be true and in the recording it says false even though I approved of it.

How is the approval being granted? I don’t see a User Approval or Request Mobile Approval task. Seems like it is stating an approval is needed, but then there is nothing to actually record the approval. I think what is then happening is that it immediately evaluates that $Is Approved equals false because there was no actual approval step.

Thank you for the help, I had to set the branch condition to $isApproved and it works as intended now.

1 Like