Ask for Approval not working as expected

mangeshbodh
Tera Contributor

Hi Everyone, 

 

I was completing a training on flow and sub flow. It has a approval flow in social media management which checks if the Priority is >=2 then it should go for approval to Social media managers group. I followed the instructions as stated in the task. but when i test the wf, the state of that record goes to Approved. the flow execution does not show any issues.

I have tested this with system administrator. is it the case where system auto approves it when system admin created the request? what are the other possible reasons this is not working and the solution for it ? I have also verified the social media manager group has users.

 

 

6 REPLIES 6

Rishi_11
Kilo Sage

Hi @mangeshbodh ,

 

In your attached image, the step 7 (update record) is running regardless of the if condition, this is why your record is getting approved after asking for approval.

Try to remove that step or add under some conditional logic.

 

Please mark this response as correct or helpful if it assisted you with your question.

Thanks,

Rishi.

 

 

GlideFather
Tera Patron

Hi @mangeshbodh,

 

it is because of the ENDs in your steps 5 and 7 (if I can see it correctly, simply after being updated Approved or Rejected), you have there the Ask for approval action and only.

 

The [END] means that the whole flow stops executing and doesn't continue further.

———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */