Community Alums
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2018 07:41 AM
Thank you @iamkalai, I have used below condition in before query BR on sys_user table, and it works.
Condition: gs.getSession().isInteractive() && gs.action != ''
Script: if ((gs.action.getGlideURI().toString()).indexOf('impersonate') != -1 || (gs.action.getGlideURI().toString()).indexOf('angular.do?sysparm_type=ref_list_data') != -1) {
<YOUR CODE GOES HERE>
}
NOTE: Do not add above if condition in the condition field, orelse you will get java null pointer exception while updating record in sys_user table.