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.

Stop flow execution when running Business Rule

SS1510
Tera Contributor

We have a UI Action in incident form , to generate a request from incident. While field mapping catalog item flow overrides our BR values.  We have used async BR  and also used setworkflow(false). but still it is triggering the flow . we have successfully mapped the values on request form but in activity logs it is showing the override history. Is there any way to remove or hide the override values?

1 ACCEPTED SOLUTION

@SS1510 

business rule should be after update on REQ

Condition: Parent Changes and Parent [IS NOT EMPTY]

// then update the REQ using setWorkflow(false)

OR

Make your flow wait for 10-20 seconds and then run it. you can use Wait for Duration

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

6 REPLIES 6

@SS1510 

business rule should be after update on REQ

Condition: Parent Changes and Parent [IS NOT EMPTY]

// then update the REQ using setWorkflow(false)

OR

Make your flow wait for 10-20 seconds and then run it. you can use Wait for Duration

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

@SS1510 

Thank you for marking my response as helpful.

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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