Use cases
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-14-2023 10:21 AM
Hi team, Can anyone suggest me with some use cases using business rule with solutions in itsm module.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-14-2023 10:56 AM
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...
☆ Community Rising Star 22, 23 & 24 ☆