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

Help with skipping an approval if variable is set to yes

EarlH
Tera Contributor

I have a flow that currently always asks for approvals.  I have a new requirement that if the variable skipApproval is set to Yes it should skip the approval stage and move to the fulfillment stage and create tasks.  I am trying to not create additional actions and use the ones that are already in place.  How can I do this?  I have an if statement created but cannot figure out how to skip to the steps where the fulfillment process begins.

1 REPLY 1

Vikram Reddy
Tera Guru

Hey @EarlH,

 

You don't need to "skip to" a step, just restructure the branch: put your existing Ask For Approval action inside the false branch of an If/Else flow logic block keyed off skipApproval, leave the true branch empty, and move the fulfillment/task-creation actions to sit after the If/Else block instead of inside either branch. Flow Designer automatically rejoins both branches back into the main flow once they finish, unless you explicitly add an End, so whatever comes after the block runs no matter which path fired. No duplicate actions, no separate flow needed, just the one If/Else and reuse everything downstream of it.

 

Thank you,
Vikram Karety
Octigo Solutions INC