- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
10-19-2021 07:42 PM
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.
解決済! 解決策の投稿を見る。
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
10-20-2021 08:55 PM
Hi, Looks like you do not have a sufficient role. Please take a look at the below and see if it will sort things out. But if you already have an admin role, I would recommend you raise a ticket in HI(support) to find out why.
Access to inline script
You can grant users access to inline scripting by either granting them the flow_designer_scripting role or the Allow Scripting delegated development permission. Both the role and the developer permission display a script button field for each Flow Designer input.
https://docs.servicenow.com/bundle/rome-servicenow-platform/page/administer/flow-designer/concept/inline-scripts.html
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
10-20-2021 09:30 PM
hi 🙂
I can now write scripts.
thanks a lot my dear.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
10-20-2021 10:04 PM
hi.
I tried the following code.
That's because I got the following error:
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
10-20-2021 09:04 PM
Hi @Kawanab,
You can make use of comments.getJournalEntry(1);
This will give you the last entered journal entry,
You can make use of comments.getJournalEntry(-1);
This will give you all the journal entrys which are added to the record.
Kindly mark the answer correct or helpful if it addresses your concern...
☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....