Caller is not (dynamic) one of my Assignment group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2023 09:23 AM
Hi,
I have the field 'hide_incident' of type True/False.
I need to write a BR query on the incident table that will meet these 2 conditions:
1) hide_incident = True
2) caller and login user are not in the same assignment group.
How can I achieve that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2023 02:09 AM
As per your suggestion script will not complicated but the execution time is worst.
You know query BR will run on each row of the table. This kind of script will be a nightmare.
Thanks and Regards,
Saurabh Gupta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2023 02:33 AM - edited 02-19-2023 02:34 AM
@Saurabh Gupta That is the reason I gave solution of ACL.
With before script I have explained cleared checking tables and returning numbers and building query is complicated and gave other option as ACL with full working script and steps. As a developer hope they understand which one to pick.
Bharath Chintala