How to check which Business Rule runs when a specific Catalog Item was submitted from the Service Portal?

MWright1
Giga Guru

I have a catalog item that when submitted, a few business rules should run:

1. to update the due date and the location (office) of the RITM based on the Requested Start date in the catalog item. (before insert)

2. to update the due date of all the tasks it creates.  (after insert)

For some reason unknown to me, it updates the location (office) just fine, BUT it does not update the due date.  My guess is something else is overwriting my updates and I need to know what.

I know my Business Rule script works because I tested it in the Scripts Background before putting it in the Business Rule.

 

Is there a way to find out what rules is hijacking the due_date of my RITMs and SC_tasks?

Thanks much.

 

2 REPLIES 2

Community Alums
Not applicable

Hi, 

If you use the Script Tracer as part of Script Debugger, you'll get a list of Business Rules that have fun, silimar to this (for a RITM I submitted on my personal instance): 

find_real_file.png

SaschaWildgrube
ServiceNow Employee
ServiceNow Employee

To identify the business rules and flows that run on a record when inserting, updating, deleting, displaying or querying the record the DevTools' WhatRuns button comes in handy.

As the name suggests it shows you what runs on a record (including business rules on parent tables).

DevTools contains a truckload of re-usable functions and features for developers.

Fork at will:

https://github.com/saschawildgrube/servicenow-devtools