Busi rule is not Executing on the change table, when the changes are created by the system.

Mainkanta
Tera Contributor

I have created the after insert BR to update the owner group to other one. But that  businesses rule was not executing even though the all the conditions are met.

 

That was executing when i  created the change request manually with the same conditions. But That wasn't executing when the change requests are created by the system.

 

Please suggest on this.

 

Thanks

12 REPLIES 12

James Chun
Kilo Patron

Hi @Mainkanta,

 

Can you share the BR here?

Also, what did you mean by it's created by the system? How is that triggered?

Cheers

Hello james,

 

Actually we are trying to implement the unauthorized change capabilities. and those are working as expected.

When ever the unplanned ci activity occurs, Then an Emergency unauthorized change will be creating by the system. for all those unauthorized change requests, the assignment group will be set as a "Change Management", by default.

 

I want to change the group name to some "XYZ", for this i have create the BR to set the assignment group of the change.

Mainkanta_0-1710229409744.png

Mainkanta_1-1710229457579.png

 

We are not receiving the logs as well.

Kindly provide your thoughts on this.

 

Please refer the below link for the docs related to Unauthorized change request (servicenow.com).

 

Thanks.

Hi @Mainkanta ,

 

I see that your business rule is Active false, Can you select active true and save the BR and try again ?

Primarly see if your getting the logs first, (put a log on 1st time to see if the conditions given by you are met then move to fixing script.)


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect

Hello @Sohail Khilji,

 

I have activated and tried.

What i have observed here is when i create the change request manually with same conditions on the BR, then it was executing as expected and I'm able to see the logs as well.

 

But as i mentioned earlier, if the change requests are created by the system. In that case this BR wasn't executing and i'm not able to see the logs as well.

 

Thanks.

Right, have you tried using the Assignment Rule instead of creating a custom BR?