CLient side validate CAB approvers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2025 07:49 PM
Hello all,
Good day!!
My requirement is Change request when moved to CAB state, then only CAB approvers needs to edit a field (u_xyz)
So, for this I have written a Script Include and on Change Client script.
So, the script include will be returning an array consists of all sys_ids of CAB approvers.
And at on Change client script the answer is giving all these sys_ids as expected.
Now, I want to check one by one sys_id with the logged in user of service-now.
So, can someone tell me how can we do this?
Regards,
Lucky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2025 12:40 AM
Here is my script include and on Change CS.
Note: Script include is returning values into the array.
But at on Change Client script, the alert itself is not coming up.
Can someone help me how to get the values stored in to an array at client side?
Please help
Regards,
Lucky