Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Flow skips approvals due to invalid rule?

Kiran_25
Tera Expert

Hi

I have a subflow that runs on change requests when a specific set of conditions are met (outage) and triggers various approvals for this.

The issue I have is that the sub flow is only triggering approvals  when there is a outage created on the change request.

 

It is skipping approvals when change req has no outage and automatically transitioning to Scheduled state.

 

Error: Skipping approvals due to invalid rule: ApprovesAnyOrRejectsAny

I believe the error relates to this step in the flow as this what should trigger approvals:

thrsdy1512_0-1740669549335.png

 

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@Kiran_25 

if you are using Ask for Approval action then you should set some user or group

this is empty in your screenshot and hence the error

AnkurBawiskar_0-1740670898015.png

 

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

View solution in original post

7 REPLIES 7

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Kiran_25 

It looks like you didn't mention the user or group from whom you need the approval. Please set or map the user and try again.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Hi, please see my response to the earlier answer. I have included a screenshot. The approval group details are fetched in a earlier step as the approval group is the support group of the affected CI

Hi @Kiran_25 , Still you need to map the variable in the Approval and Reject section through data pili picker. In the screen shot it's blank.