Business rule only for list view

uma17
Tera Guru

Hi,

I have a business rule for the list view updation of the table I dont want that business rule to run when the form level update takes place.

Is there any solution where I can restrict this business rule to run only on list view of the table?

Thanks

Uma

4 REPLIES 4

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Uma,



I don't think there is any OOB functionality as such. However I am thinking you can create a checkbox and make it true once the form loads. Based on which you should be able to have your logic.


The SN Nerd
Giga Sage
Giga Sage

What is the business outcome you are trying to achieve?



You may wish to consider creating a List Choice UI action that performs the business logic.


If you set all the Form options to false, it will not be possible to activate from the form.



I have done this for mass re-assignment of records.



ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022

Thank you Paul,



I am using this business rule to blank out the assigned_to every time I change the assignment group in list view.


We have a client script which does the same action on the form.Which does not work on the list view of the table.



Thanks


Uma


The SN Nerd
Giga Sage
Giga Sage

Would it not meet the requirements then just to create a "before" business rule that clears the Assigned to field when Assignment group changes and assigned to field is populated? When you refresh the list, you will see that 'Assigned to' will be empty.



You could also implement something similar to this but for re-assignment instead



http://wiki.servicenow.com/index.php?title=Closing_Multiple_Incidents#Closing_Incidents_with_a_UI_Ac...



ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022