i want to set a value of requester for as a current login user in service catalog how to achive this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā01-29-2023 02:32 AM
i want to set a value of requester as a current login user in service catalog how to achieve this

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā01-29-2023 07:22 AM
Hi @Akasht1 ,
You can mention the Reference Qualifier for the requester field. In that you can mention as sys_id is javascript:gs.getUserID() as shown in below image.
Please mark correct if my response has solved your query.
Cheers,
Mohammed Basheer Ahmed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā01-29-2023 07:36 AM - edited ā01-29-2023 09:06 AM
We can write onload catalog client script in that We can write .
Function onload ()
{
g_form.setValue('requestor_field',g_user.getuserID());
}
Also we Also add default into reference qualifier as gs.getuserID ;
Please mark helpful or correct.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā01-29-2023 07:50 AM
Hello,
You can set the default value like gs.getUserID(); in the default tab for Requested for field dictionary.
There is OOB dynamic filter option Sender which is used as Dynamic default in dictionary entry of Requested for field.
Please mark my answer as helpful/correct if it helps you.
Regards,
Namrata
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā01-29-2023 08:54 AM - edited ā01-29-2023 08:55 AM
Hello Kunalb1,
You can achieve this by adding Default value to Requested For variable.
javascript:gs.getUserID()