Business Should run only once irrespective of Records updated or inserted

Rahul Jonnadul1
Tera Contributor

Hi Team,

Irrespective of Records inserted or updated Business Rule will have to trigger only once ..

Could you Suggest?

Thanks & Regards,

Rahul

9 REPLIES 9

Pavankumar_1
Mega Patron

Hi,

you can use flow and select  Run trigger is once.

 

Thanks,

Pavankumar

If it helps please click Accept as Solution/hit the Thumb Icon.
ServiceNow Community MVP 2024.
Thanks,
Pavankumar

Its not working on scoped applications

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

With business rule you cannot restrict it.

What's your business requirement?

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

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.

asifnoor
Kilo Patron

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.