Flow Designer - How to use HTML text along with the script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-18-2020 11:47 AM
I am trying to send incident notifications using Flow Designer where I need to use only the latest comment on the notification and not to send all the comments.
If i add Additional Comments in the data pill, it sends all the comments in the notification. If I use the script instead of the data pill, I am able to send out the latest comment but the other variables/fields and text associated with that are not sent.
Data Pill:
Any idea how to get all the body along with the latest comment on the notification.
- Labels:
-
Scripting and Coding
-
Studio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-18-2020 02:12 PM
Hi Hari,
I would go with triggering an event as suggested by
Your script step would then grab the journal entry and pass to an output. This output can then be used in your main flow, or just add an email step in the action:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-18-2020 02:24 PM
Hi jwalton,
Could you please let me know what kind of action this is and how to get there. Yes, I want to use it within the flow and dont want to use the event option and json. We could have used scheduled job if thats the case.
I want to test your approach. Pls let me know.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-18-2020 02:37 PM
To create an action, open flow designer and click new action:
Your input will be the incident trigger record:
Once your action is published it can be added to your main flow:
The output from the action can be used in the email as a data pill:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-18-2020 03:01 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-18-2020 03:05 PM