How to assign a record to current logged in user via Flow designer?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-12-2022 11:19 PM
Hi all,
I am trying to assign the current record to the currently logged in user by using the flow designer. But it is not getting assigned.
I have returned gs.getUserID() in the script. It is not working.
Is there any other way to assign to the currently logged in user.
Thanks,
Yesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-12-2022 11:53 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-02-2023 11:33 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-13-2022 12:00 AM
Hi,
can you share what is configured in your flow properties?
If Run as - System -> then gs.getUserID() won't help
If Run as -> User who initiates session -> then gs.getUserID() will help
Share the screenshot
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader