flow is skipping an ask for approval action

alexrozov
Tera Expert

Hi,

I'm building a flow for a requested item in the service catalog.

my flow requires an approval of the direct manager of the requester and then of another group.

I have created an "ask for approval" action for the direct manager.

then I'm checking the approval state and ending the flow if the manager rejects.

If the manager does not reject I ask for an approval again, this time to the group I need.

 

when I run and approve the first direct manager approval the flow continues.

It create a group approval and approval tasks for the members of the group on the RITM

But all of these are immediately set to no longer needed and the action gets an approved approval state automatically without anyone approving or rejecting.

 

the only thing I can think of is that maybe I should have my flow set the approval field to requested within the flow before the second ask for approval action as maybe because I have approval=approved from the first approval the flow continues.

But I am expecting the system to automatically change the approval to requested as part of the ask for approval action.

 

 

Any ideas?

 

 

 

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

refer below link for help

Flow Designer - two consecutive Ask For Approval actions in flow could randomly make second Ask For ...

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

1 REPLY 1

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

refer below link for help

Flow Designer - two consecutive Ask For Approval actions in flow could randomly make second Ask For ...

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader