- 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 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 09:24 PM - edited ‎09-04-2023 09:25 PM
Hi there,
How does your workflow look like? This might be caused because of your workflow design (this will happen when you've got for example a timer to wait for N seconds). You could work around this creating the Task scripted. Though I don't know anything about your workflow design and which steps are causing this so can't answer more in depth.
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-04-2023 09:52 PM
Hello Mark,
Basically we have Workflow A for the entire catalog item. Based on a condition, Workflows B, C, D, etc. will be called. Catalog tasks are created in the Workflows B, C, D.
Best regards,
Thi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-04-2023 10:02 PM
Hello Mark,
I almost forgot. There is a 3 second timer delay after the request is created, before the condition check.