what is the use of updates field condition is business rule.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2024 06:18 AM
What is the use of updates less than 2 meaning in this business rule
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2024 06:31 AM
Exactly what it states: the number of updates on the record should be less than two.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2024 06:34 AM
Hi @Aditya1204
Insertion vs. Update: In ServiceNow, an insertion is considered the first “update” to a record. When a new record is created, it’s being “updated” for the first time. So, in this context, “Updates less than 2” essentially means actions or conditions that should only apply when a record is being inserted (created for the first time) but not when it’s being updated subsequently.
- Limiting Actions to Initial Creation: Using “Updates less than 2” in a Business Rule condition allows you to specify that certain actions should only occur the first time a record is inserted into the database. This can be useful for initialization actions that shouldn’t be repeated on future updates.
Practical Use:
In the context of a Business Rule, using “Updates less than 2” as a condition means that the rule will only be executed when:
- A new record is being inserted.
- The record has not been updated before beyond its initial creation.
This is particularly helpful for scenarios where you want the Business Rule to run only upon the initial creation of a record. For example, when you want to set initial values, perform calculations, or log information specifically related to the creation event, and you want to ensure these actions aren’t repeated or re-evaluated on subsequent updates to the record.
Note: Please Mark this Helpful and Accepted Solution. If this Helps you to understand. This will help both the community and me..
- Keep Learning
Thanks & Regards
Deepak Sharma