How to compare previous and current worknotes and comments using flow designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2023 09:54 PM
Hi All,
I have a requirement to send a outbound PATCH request to a 3rd part when ant of the field is changed in Incident form.
When I change the worknotes, the PATCH request includes both the latest worknote and latest additional comment in the Payload , so I am trying to put a filter in the flow designer such that if worknotes is changed only it should be included in the payload and same for additional comment as well.
Please provide some suggestions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2023 10:06 PM
you want to invoke API when?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2023 10:10 PM
Hi Ankur,
API will be triggered when the Incident is updated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2023 10:35 PM
so when update happens you are sending latest work notes and latest comments.
i didn't get the question then
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2023 10:41 PM
Hi Ankur,
The question is currently when I change the worknotes the latest comments is also captured in the Payload as per the below script. And I want only the worknotes to be captured in the payload. Same for comments also. When comment is changed only it should be captured in the payload and not the latest worknotes