Default timeout of an bussines rule
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-14-2023 03:38 PM
Good evening everyone, I was developing a bussines rule, it ended up running for too long and i believe that in 5 minutes it was closed by the platform itself, I managed to get around this problem by putting my br in asynchronicity, however i was curious to know more about it.
where can i find this setting?
can your time be changed?
I tried to find it in quota rules and in system properties, however i had no luck in my searches, thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-14-2023 04:07 PM
You can look at the Transaction Quota Rule named "UI Transactions" that is set to 298 seconds. Asynchronous BRs run as schedule jobs, not subject to that quota rule. Seems your BR logic needs some changes so it doesn't cause a performance problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-14-2023 09:10 PM
Hello @Johnny Schreine
as Bert mentioned, the time out settings are defined under Transaction quota rules.
It's not the best practice to increase the Transaction quota as it may Impact the system performance.
But there's a workaround for this, you can use OOB script include called ScheduleOnce that would let us schedule the execution of our script in an asynchronous way.
var so = new Scheduleonce();
so.script = script; //BR script
so.setAsseconds(400); //setting extra time for the specific BR
so.schedule();
)) (current, previous);
refer this thread where this method is explained clearly:
also refer:
please mark the answer as correct and helpful based on Impact.
Kind Regards,
Ravi Chandra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-16-2023 09:53 PM
Hello @Johnny Schreine
Greetings!
Any feedback on my reply? were you able to do this?
Help others to find a correct solution by marking the appropriate response as correct answer and helpful!!
Kind Regards,
Ravi Chandra.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-17-2023 07:49 AM
Hello @Johnny Schreine
Greetings!
Any feedback on my reply? were you able to do this?
Help others to find a correct solution by marking the appropriate response as correct answer and helpful!!
Kind Regards,
Ravi Chandra.