- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
10-20-2021 11:53 PM
hi.
I tried the following code.
var latest_comment = fd_data.trigger.current.comments.getJournalEntry(1);
return latest_comment;
That's because I got the following error.
Error : attempting to use undefined input = 'current' from MY_SUB_FLOW_NAME
I'm writing this in a flow designer.
I want to get the latest additional comment in the resolution memo.
解決済! 解決策の投稿を見る。
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
10-21-2021 02:58 AM
Hi, if you use sub flow, you will need to define Inputs in the sub flow so that the main flow can pass the incident record to be updated to the sub flow. The "current" variable does not work in sub flow.
1. In the sub flow, define the input as Target incident record - for example.
2. In the main tab, you would need to pass the incident record to the sub flow's Target incident record input.
BTW, maybe you can consider putting the update logic(script) in the main flow, which will make life much easier.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
10-21-2021 02:58 AM
Hi, if you use sub flow, you will need to define Inputs in the sub flow so that the main flow can pass the incident record to be updated to the sub flow. The "current" variable does not work in sub flow.
1. In the sub flow, define the input as Target incident record - for example.
2. In the main tab, you would need to pass the incident record to the sub flow's Target incident record input.
BTW, maybe you can consider putting the update logic(script) in the main flow, which will make life much easier.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
10-21-2021 03:12 AM
Please remember to Publish the sub flow after modifying it, so that the main flow can see the changes. Good luck!