- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-04-2023 06:15 PM
Hello all,
I have a workflow for a catalog item that calls another child workflow, which creates catalog tasks. And all the catalog tasks that are created by that child workflow have "system" as the "Created by" value instead of the requestor. Is there any way so that the catalog tasks are created by the requestor instead of the "system" user?
Thanks,
Thi
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-04-2023 08:54 PM
unlike Flows the old school Workflows do not provide an option to specify the "Run as" behavior manually. Basically, the Workflow context is created in the name of the currently logged-in user. But there are some special Workflow activities like "Timer" which switch the context to the "system" user and all following activities will inherit that system user. This is as expected and cannot be changed.
If you really want to control the "Run as" user, I recommend migrating to Flows.
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-04-2023 10:09 PM
did you see my initial response to your question? I wrote:
"But there are some special Workflow activities like "Timer" which switch the context to the "system" user and all following activities will inherit that system user. This is as expected and cannot be changed."
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-04-2023 10:13 PM
Thanks Maik, I removed the Timer activity and it seems to be working again. Sorry for missing your previous reply.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-04-2023 10:10 PM
Since you have a delay in your workflow it's OOB behavior that created by will show as system since timer activity runs with that user
check this link
Opened By field is populated as system for Task created by a workflow
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader