How to compare previous and current worknotes and comments using flow designer

Priyadharashin1
Tera Contributor

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.

13 REPLIES 13

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.

@Priyadharashin1 

Did you get the solution for your issue. I am also facing a similar issue. Can you please help ?

@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.

Yes that helped. Thanks a lot