Business Rule Not Being Triggered When an Update Made from an Update Set?

RK25
Giga Guru

Hello,

 

We are trying to capture updates made to the dictionary table so created a business rule on the discovery table to capture the updates but it's only capturing when a manual change is made on the table not when an update coming via an update set. I assume when an update made via update set, ootb using setWorkflow(false) to stop business rule from running. I also tried flow designer but running into similar issue. BTW, I don't want to do it on sys_update_xml so looking for ways around to capture these updates that are happening from an update set. I appreciate any inputs.

 

Thanks!

3 REPLIES 3

SatyakiBose
Mega Sage

Hello @RK25 

So how BRs work wrt to Update Set is:

  • BRs are run when an update set is committed
  • BRs are run when they are retrieved from a remote instance
  • BRs are not run when loading an update set from an XML file.

Can you confirm that in your case, you are not loading an update set from XML file.

You can check the thread here -  Solved: Business rule for update set loaded? - ServiceNow Community

 

@SatyakiBoseAny other inputs based on my comment? Thanks!

RK25
Giga Guru

Thanks for the response. I am manually exporting an update set using UI Action, loading it from Retrieved update sets then committing from there. Above example you provided is on sys_remote_update_set which is not same in my case, for some reason any updates made to a table via usual process(loading the set, previewing and committing) is not triggering the BRs.