Business Should run only once irrespective of Records updated or inserted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-10-2022 07:00 AM
Hi Team,
Irrespective of Records inserted or updated Business Rule will have to trigger only once ..
Could you Suggest?
Thanks & Regards,
Rahul
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-10-2022 07:03 AM
Hi,
you can use flow and select Run trigger is once.
Thanks,
Pavankumar
ServiceNow Community MVP 2024.
Thanks,
Pavankumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-10-2022 10:10 AM
Its not working on scoped applications
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-10-2022 07:05 AM
Hi,
With business rule you cannot restrict it.
What's your business requirement?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-10-2022 10:22 AM
Hi Ankur,
Appreciate your immediate response..
we are getting the records from Scripted rest API,but we dont know the record count.
After inserting the records we are updating the Approval Field as Approved
The business rule should run only once for all the records.
I tried it same thing from the flow designer but the flow is not getting triggered as its scoped application.
Please suggest any other option.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-10-2022 01:30 PM
Hi,
you can add a condition in your after insert/update BR
updates is <=1,
Generally this field gets incremented on every insert/update. So this way, after 1st insert/update it will not run again.
Mark the comment as a correct answer and also helpful if this has solved the problem.