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-19-2023 04:48 AM
Hi Ankur,
I think, We can set the values for Flow variables after the trigger condition is met. So I cannot store the previous value using flow variables.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2024 12:56 AM
Did you get the solution for your issue. I am also facing a similar issue. Can you please help ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2024 01:10 AM
@Roshani Dhadiwa If worknotes is updated, then you can see the values in the changed fields of the flow. So, I used a For Each action, to iterate over the changed fields and if worknotes is present I got the value using getJournalEntry(1) and store it in a flow variable. Hope this helps you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2024 01:40 AM
Yes that helped. Thanks a lot