how can i get to only latest additional comment in flow designer?

Kawanabe Shinta
Kilo Contributor

how can i get to only latest additional comment in flow designer?

Hi 🙂 thank you for watching.

We manage incidents in cooperation with google chat.

Then, when the status is set to resolved, I want to write the latest additional comment in the resolution memo.

I thought that I should arrange it with the split function and extract only the first item,

but I could not arrange it because it became [com.glide.glideobject.Journal@xxxxxxx].


Please lend me some wisdom.

thank you.

1 件の受理された解決策

Hi, please can you try below? This is what Mark talked about.

find_real_file.png 

元の投稿で解決策を見る

8件の返信8

Mark Roethof
Tera Patron
Tera Patron

Hi there,

You tried something already, which is not working. Though what, can you share any details?

Though anyway, I would go for an Action and applying getJournalEntry(1).

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark
2020, 2021 ServiceNow Community MVP
2020, 2021 ServiceNow Developer MVP

---

LinkedIn
Community article, blog, video list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

hi! Appreciate for answer.

I'm using the flow designer for the first time, so
Please forgive me for not being able to explain it well...

It works when first type resolved from Google chat.

And I'm using update records in ServiceNow core.

is getJournalEntry an existing action?
or do you need to do something?

thank you.

Hi, please can you try below? This is what Mark talked about.

find_real_file.png 

hi. thank you for supplementary explanation.

 

As you can see from the attached image,

There is no button that allows you to write a script.

there is only data pill picker.

i cannot see allows script button.

Please tell me the settings and methods to enable the script button to be pressed.

 

thank you.

 

find_real_file.png