Issue with flow designer statements..

HP8
Giga Guru

I'm building a scenario where when a catalog task is created, an approval will be sent, and goes to different approval groups depending on the selection made on one particular field. There are 10 approval groups in total. I've currently built the flow with 2 approvals but when I test the second choice selected on step 20, it doesn't flow to the approval piece on step 21 and goes straight to step 27. What am I doing wrong? 

 

HP8_0-1720418293383.png

 

1 ACCEPTED SOLUTION

Ok I've found the problem.. I didn't have any members set in the test approval group so it skipped this stage...!

View solution in original post

4 REPLIES 4

Dnyaneshwaree
Mega Sage

Hello @HP8 ,

Did you want to flow always go in each if condition of "ward_depart..."? Before 20 no. activity it is already goes in step no. 18 and 19?

If yes then please remove else of 20 only need if condition there because currently, flow goes to 18 already and condition was fulfilled then it will definitly not go to else of 20.
OR you can directly use nested if means after 19 you can immediately add next if in the same vertical line. 




Please accept my solution if it works for you and thumps up to mark it as helpful.
Thank you!!

Dnyaneshwaree Satpute
Tera Guru

Hi there. From step 18 it checks for the field choices. If it matches choice A for example, then it goes to Ask for Approval, which goes to one approval group. If it matches to choice B, then it goes to a different approval group. That's how I was trying to set it up but it's not working.. it's only working for the 1st If Statement on step 18.

Dnyaneshwaree
Mega Sage

Then remove else and only leave if as it is and test it once.

Please accept my solution if it works for you and thumps up to mark it as helpful.
Thank you!!

Dnyaneshwaree Satpute
Tera Guru

Ok I've found the problem.. I didn't have any members set in the test approval group so it skipped this stage...!