Flow Designer get the last work note

Andrew_TND
Mega Sage
Mega Sage

Hello, this is probably really simple but I usually do a quick and dirty GlideRecord Script but thought I'd do it in Flow Designer.

I want to add the last work note to the parent enhancement table, this works for the most part it shows the number and the short description on each individual update however, its pulling through all the worknotes on story opposed to the last update... Anyone point me in the right direction?

Andrew_TND_0-1719307121075.png

 

6 REPLIES 6

Paul Curwen
Giga Sage

 
See Hitoshi Ozawa' solution here: 

 

https://www.servicenow.com/community/developer-forum/script-step-within-flow-designer-that-pulls-wor...

 

 

 
***If Correct/Helpful please take time mark as Correct/Helpful. It is much appreciated.***

Regards

Paul

OlaN
Giga Sage
Giga Sage

Hi,

Seems like the default behavior is to copy all the worknotes from the other record.

If you only want to copy the last one, you'll need to create your own custom action, and use that instead.

OlaN
Giga Sage
Giga Sage

So... this sounded like a fun little project. And it others in the community might find it useful as well.

So I made a little tool to help you out.

Enjoy!

Extract Journal from Task record - Share project 

Thanks for this @OlaN ! I was able to use your Flow Action to pass Work Notes in my integration with Jira.