What is Business Rules - ServiceNow? Business Rule is server side scripting that executes whenever a record is inserted, updated, deleted, displayed or queried. The key thing is to keep in the mind while creating a business rule is that when and on what action it has to execute. You can run the business rule ‘on display’, ‘on before’ or ‘on after’ of an action (insert, delete, update) is performed. It executes on the server and does not monitor form fields. When to run Business Rules : 1) Display : Runs when the form loads. Primary purpose is to populate the g_scratchpad global object. Use to provide client-side scripts access to server-side data Display Business Rules 2) Before : Executes after form submission and before the record update in the database. Use to update information on the current object. Example, a Business Rule containing current.state=3; would set the state field on the current record to the sta...
My ServiceNow Knowledge Base is an independent ServiceNow blog site and focused primarily on the needs of ServiceNow administrators, Developers. Its purpose is to enable you to gain more knowledge about how to get the most out of your ServiceNow instance.