BR causing the Performance issue for specific users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2024 09:07 PM - edited 06-10-2024 09:16 PM
Hi,
We have a before BR which is causing performance issue for the users of that group. The users are facing larger response time to perform the below operations.
Performance issue for the operations:
1. To open list of Ritm's in backend
2. To open My Requests in portal
Here is the before BR:
Advanced condition - !gs.hasRole('admin') && gs.isInteractive(true)
Script:
If condition query is taking larger response time.
I have tried by adding active true and created from last year in query, but no improve in the performance.
Can you please suggest any ideas to improve the performance by not changing the logic of code ?
Thanks
@Community Alums @Kieran Anson @Mark Manders @Amit Gujarathi @Arpan Baishya @Allen Andreas @poojasutar @Pradeep Sharma @Aditya Mallik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2024 03:40 AM
Please, don't just put your script and the result in your question, but also the requirement. Maybe the fact that you are using a script is the issue and another solution can be given to meet the requirement.
The script itself looks way too heavy, but since you haven't told us what you are trying to achieve, there's not much we can do.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark