Default value of logged in user record of reference field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2024 10:44 PM
Hi Team,
I have one record producer in which i have created a variable (reference) that is a reference table of HROP.
i need to set the default value of this variable to logged in user HROP's table record.
ex: if user1 is logged in, then the default value of this variable should be his HROP's table sys_id.
Please help me with the script.
Thanks,
Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2024 12:00 AM
Hi @Sri56
You can use an advanced reference qualifier for your requirement. Refer https://docs.servicenow.com/bundle/xanadu-platform-administration/page/script/server-scripting/conce...
Thanks and Regards
Amit Verma
Please mark this response as correct and helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2024 10:21 PM
Hi Amit,
Can you give me the reference filter query for my scenario?
Thanks,
Sri