Business rule gets reverted back

sharley
Tera Contributor

Hi,

I am trying to create an after business rule for closing a ticket.

but the business rule keeps getting reverted back to "before".  this happens not only when choosing after business rule but also Async, display business rules.

does this happen due to version upgrade?

my instance was upgraded from sandiego to utah in June 2023. i recently switched on to glide.ui.polaris UI.

can anyone please help me with this?

Thanks,

Sharley

3 REPLIES 3

Anil Lande
Kilo Patron

Hi,

That should not happen.

Is it happening on your PDI?

Please try changing it from LIST layout.

Is it happening at Client side (UI) or when you save the BR(Server)?

 

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

Harish Bainsla
Kilo Patron
Kilo Patron

check few steps resolve the issue:

Review the ServiceNow upgrade documentation for the versions you've moved through (Sandiego to Utah). There might be specific changes or considerations related to business rules or UI configurations.
The switch to the "glide.ui.polaris" UI might have introduced changes in the UI framework. Ensure that the business rule configurations are compatible with the new UI framework.
Check the system logs for any error messages or warnings related to the business rule. This can provide insights into what might be causing the issue.
Check if there are UI Policies or Client Scripts that might be affecting the behavior of the business rule. Conflicts between these elements can sometimes lead to unexpected behavior.
Ensure that the business rule script adheres to scripting best practices and does not contain any syntax errors that might cause the configuration to revert

Shamma Negi
Kilo Sage
Kilo Sage

If you set as before and it converts it to after. Please check the logs.

Also sometimes if you have best practice model activated on your instance, it doesnt allow you to create something which doesnt follow Best PRactice model.

 

Please check whether you need On Before or As per besr practice it should be After or Async.

 

Try to use as per best pratice model.

 

Regards,

Shamma

Regards,Shamma Negi