- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2024 01:23 AM
Hi,
I have a requirement to do a logical check after approval in the Knowledge publishing workflow. If the article's Updated by is NOT equal to the manager of a particular group, meaning that the approver changed something in the article, then an additional approver is created for the manager. How do I get the field 'updated_by'?
I have tried with simply writing updated_by, but also current.updated_by and current.variables.updated_by but nothing works. This is in a script in an "If" workflow activity.
Many kudos if someone can help me.
Regards,
Kim
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2024 03:07 AM
Hi @kim-lindgren ,
You can get the updated by name using "current.sys_updated_by". You add this in if condition and return yes and no. Based on output you can trigger additional flow.
-------------------------------------------------------------------------
If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.
Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay
-------------------------------------------------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2024 03:07 AM
Hi @kim-lindgren ,
You can get the updated by name using "current.sys_updated_by". You add this in if condition and return yes and no. Based on output you can trigger additional flow.
-------------------------------------------------------------------------
If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.
Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay
-------------------------------------------------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2024 04:25 AM
Of course, it's sys_updated_by, not updated_by. I should know this by now.
Many thanks, Runjay.