Business rule for update set loaded?

stevehuitt
Kilo Guru

We'd like to send notifications when an update set is loaded (either via XML file or retrieved form another instance) or committed. Things working when an update set is committed but my business rule is not being triggered when loaded an update set via XML (I have not yet tried retrieval from another instance). My business rule is on the Retrieved Update Set table (sys_remote_update_set), runs after insert or update and has no conditions specified. Are business rules bypassed when update sets are loaded or is there something else I need to do?

Regards, Steve

1 ACCEPTED SOLUTION

I was able to confirm that business rules are run when retrieving update sets from a remote instance. To summarize:


  • 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


Steve


View solution in original post

5 REPLIES 5

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hello Steve,



Importing records from an XML file will not run Business Rules


Thanks Pradeep. Am I right that business rules are not run when an update set is retrieved as well?



Steve


I was able to confirm that business rules are run when retrieving update sets from a remote instance. To summarize:


  • 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


Steve


You are right Steven. I was about to reply but then saw your response