Flow skips approvals due to invalid rule?

thrsdy1512
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

@thrsdy1512 

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

Ankur Bawiskar
Tera Patron
Tera Patron

@thrsdy1512 

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

The group/user details are collected in earlier steps using a script, the script is fetching the affected CI support group details:

thrsdy1512_0-1740671413814.png

 

@thrsdy1512 

but you are not setting it as per the image I highlighted?

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

Thanks - issue is resolved by populating the fields that you have highlighted. Have marked your response as the solution as it worked for me