BR in Scoped Applications
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2024 12:25 AM
Hi All,
If a BR is created in a scoped application on a table for ex : "sc_request" and when to run is request state changes to closed complete , so will this BR trigger when requests move to state Closed Complete or this BR will work only for those request related to this scoped application. Also if not executing the logic but will a check be performed for this BR or not ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2024 12:28 AM
Hi,
The BR will update the logic, even though the Scope is different, the only condition is the scope of BR has access to change the values in the target scope
Regards,
Piyush Sain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2024 12:43 AM
Hi @Anubhav24
It does not at all depend on the scoped or global application. If you have written a BR on the sc_request table where the condition is state changes to closed complete, then every time any updation is made on the sc_request item table all those BR will execute whose conditions have been met.
Please mark this as helpful if this resolves your query.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2024 02:36 AM
So BRs will execute their when to run conditions , similar case for Client Scripts and Script Includes does not stands true right ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2024 03:01 AM
Correct!
BR - will check the "When to run condition"
Client script - Run on 4 different scenarios onLoad(), onSubmit(), onChange() of any field and onCellEdit()
Script include - will execute only when there is any call happens from CS or BR
Please mark helpful is this resolves your query
Thanks!