logo

NJP

ServiceNow Task on Business Rule

Import · Aug 18, 2022 · article

Business Rule

Task 1

1. Create a table called 'incident_temp' with below two fields Incident Number Short Description2. Create a business rule, this should execute only whenever any new incident created on 'Incident' table, 3. Create a new record in 'incident_temp' table from above newly created Incident record and set Incident Number and short description values and save the record in 'incident_temp' tableTask 21. Create a business rule 'Remove Temp Incident Rule' , This should execute only whenever any record removed from 'Incident' table.2. Query the incident number from 'incident_temp' table based on removed Incident Number record from 'Incident' table3. Remove the corresponding incident record from 'Incident_temp' table

Task 3

1. Create a business rule called ' Update Temp Incident Rule' - This should execute only whenever any incident updated in 'Incident' table.

2. Update the corresponding incident in 'Incident_temp' table and update Short description.

View original source

https://www.servicenow.com/community/itsm-articles/servicenow-task-on-business-rule/ta-p/2305352