Flowdesigner to get watchlist user and requestor manager name.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2023 12:00 PM
So i created a group with a user and manager. This needs to be visible when a requester open catalog form then in ritm manager name should be visible.
I have written script till here in flow designer.
var nameString = '';
var gr = newGlideRecord('sys_user'); gr.addEncodedQuery('alias id'); gr.query();
while(gr.next())
{
nameString += gr.name +',';
} nameString=nameString.substring(0,nameString.length-1);
return nameString.toString();
This script is to get one person whom I added in watchlist . I need for requestor manager.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2023 12:02 PM
What is your business requirement? tell us the complete use case, seems this is incomplete information and hard to understand what you are actually trying to do.
Regards,Sushant Malsure
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2023 12:07 PM
I written a code for a person (alias id) he will be visible in my watchlist, now I need a script for requestor manager name in that watchlist . It means requestor manager should come in that watchlist
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2023 12:09 PM
whenever a requestor open that catalog form then in ritm watchlist his manager name should come. It needs to be done using script in flow, I have done for one person whom I need in watchlist, now I need for manager