How to set ctask opened by field same as the logged in user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2025 10:16 AM - edited 02-13-2025 10:23 AM
Hi All,
When ctask is opened by a flow and flow's run as user is set to system user, the open by field on ctask is empty. I want to set it automatically to same as the logged in user. Can you please help me on this?
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2025 10:34 AM
Hi @jituksingh
What is your use case to assign the task to logged user, user might be not part of the group or might be a manager who is checking the task.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2025 10:36 AM
What is the trigger condition for your flow? Is it a record being updated? Can you match the trigger person to the opened by field? For example, if the trigger is "case updated," you'd set ctask.openedby = trigger.updated_by
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2025 10:51 AM
Trigger is service catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2025 09:30 AM
Are you able to get the trigger user from the data pills?