We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Flow Designer and scripting Ask for Approval

david_legrand
Kilo Sage

Hi community,

Has anyone tried to use the "scripted rules" on the Ask for approval? Because my flow won't be as simple as "take a user in a predefined field"...

I can't find what the rule is expecting 😕

find_real_file.png

1 ACCEPTED SOLUTION

Thanks, We just had to learn to create subflows/actions for everything we needed to have.

I'll use Flow but I still like Workflow for its responsiveness and easiness to script... 🙂

View solution in original post

12 REPLIES 12

how about for Groups ?

For multiple groups approval, you can use multiple "Anyone approves" in an OR condition. Connected to one "Anyone rejects" containing all groups needed.

find_real_file.png

For dynamic group approvals, check runtime value of flow context of the above and script the approval condition to return a string like:

ApprovesAnyG[groupSysID1]&AnyG[groupSysID2]&AnyG[groupSysID3]OrRejectsAnyG[groupSysID3]

find_real_file.png

Hi Lukas

Approval rule helped but I wanted to check what will be the final approval state if first group will approve and second will reject. I tried testing and it is giving me null.