Opened by is empty on sctask using worklow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
I know when flow designer is used this can be checked/configured by clicking the ellipses in the top right of the window, select properties, and look at the Run As field.
But in this case, the problem is happening with catalog items that have not been changed to flow designer yet and continue to use workflow, Is there any way to check/fix that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
in the sc task activity script you can set using task.opened_by= you vlaue
or you can create a BR
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
@Chaitanya ILCR thank you, the business rule helped. However it seems it is not actually empty but set as "system". Do you happen to know how to fix that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi @sola2 ,
Did you back out the changes done on the Opened by dictionary that are suggested by Ankur?
If yes and still facing the issue
Try adding a OR condition in the BR with created by is system
Or
It's better to the Opened by in the workflow as suggested in the 1st approach
Regards
Chaitanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
opened_by on sc_task which is from task table should get populated automatically with the logged in user even though you are using workflow
it should get populated with the user in whose session the catalog task is getting created
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
