Get knowledge article field in KB publishing workflow

kim-lindgren
Kilo Sage

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

1 ACCEPTED SOLUTION

Runjay Patel
Giga Sage

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

-------------------------------------------------------------------------

View solution in original post

2 REPLIES 2

Runjay Patel
Giga Sage

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

-------------------------------------------------------------------------

kim-lindgren
Kilo Sage

Of course, it's sys_updated_by, not updated_by. I should know this by now.

 

Many thanks, Runjay.