If approval is no longer required we need to add this condition in flow and continue the RITM

sariksorte
Tera Contributor

'If approval is no longer required' we need to add this condition in flow and continue the RITM as it is working for 'if Approved' but we cannot get value of no longer required in executions.

How to solve this any suggestions:

sariksorte_0-1738229633520.png

the flow is waiting if approver set it to no longer required as it returns no value but our requirement is to continue the flow. How to add this no longer required condition

13 REPLIES 13

@sariksorte 

are you able to replicate in DEV?

Can you please share to whom the approval is going?

is it going to that reference variable's manager? Is the approver set correctly?

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

I cannot replicate in Dev, yes it is going to application manager correctly I already checked on that .

This issue is only on 1 RITM in prod other are working good no issue but for investigation purpose.

@sariksorte 

did you check in prod for that user manager field is empty

OR

manager is inactive and locked out

Also if the RITM gets into 1 of these states (3,4,7) then OOB BR makes that RITM as active=false and approval will be set as No longer required and your flow will stuck.

Did you check for that RITM if it got closed with either of those states even before the approval action triggered?

Approval is being set to "No Longer Required" 

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

Viraj Hudlikar
Tera Sage

Hello @sariksorte -

 

The requirement you asking is going against OOTB behavior as the Ask for Approval action is only listening to approval state as approved/reject/cancel as OOTB, no longer required is not considered.

Also, if someone is changing state manually make sure they select as approve or reject or cancel and not no longer required.

 

If you still want requirement badly then I found one BR "SNC - Notify Flow (Approval)" where if we modify condition and then when approval is mark as no longer required then flow action ask for approval is no longer in waiting state and you can add if clause where state is cancelled and do further activity as required.

 

Note - If you doing this changes it might have other implications as I have not tested further and also the function called in business rule is SNC protected. Also, might affect your future upgrade.

Also, you stated that state is change by system see if there is any BR or scheduled job setup which is doing these changes is it at specific time?

If still no luck, I would request to raise HI Case where an engineer can you help you with your issue as it will be instance specific configuration.

 

If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.

 

Thanks & Regards
Viraj Hudlikar.