Use cases

HARIRATHNA U
Tera Contributor

Hi team, Can anyone suggest me with some use cases using business rule with solutions in itsm module.

1 REPLY 1

Adrian Ubeda
Mega Sage
Mega Sage

Hi Harirathna, 


First of all, you should know that there are 4 types of business rule:

- After: The business rule triggers after that the data is stored in the database. For example, when after an update of state of any incident record you want to close some related child of that incident.

- Before: The business rule triggers before that the data is store in the database. For example, when you want to clear change a field based on a state value. Or check any field value before it is stored on database

- Async: Business rule runs in the background simultaneously with other processes.  Business rule triggers after the data is saved into the database. For example, when you need to move attachments from one record to another or heavy logic is applied.

- Query: Code written in display business rule get executed before the form is presented to the user and just after the data is read from the database. For example, when you want to show only few record to an specific role/group or need to apply more logic than ACL supports

 

Check also this link: https://www.servicenow.com/community/itsm-forum/types-of-business-rules-with-example/m-p/712625#M284...

 

If it was helpful, please give positive feedback! ✔
☆ Community Rising Star 22, 23 & 24 ☆