- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2022 09:10 AM
Hi Everyone,
we have a requirement, when ever a update happens on the incident table like updating the priority or state or impact or whatever the field then we have to trigger the REST call based on the field which has been updated.
In flow designer I'm using FDchangeDetails-->FieldName so that whenever a update happens for a particular field then the REST call should be triggered.
I wanted to trigger the REST action only if the priority values changes on incident table, so I have created the flow as below. similarly if we change state then we have to trigger another action on the same flow designer.
Now problem is If I make multiple updates like changing the state, priority, impact and other fields then system evaluating the condition as false as shown below screen shot. I have put the logs for changed fields and it is capturing all the captured fields, but the condition in IF statement is failing to find the priority from the changed fields list.
I have added attachments, please review it
Please suggest me how can we run through all the changed fields using for each and then find if the changed field name is priority or not.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2022 04:00 PM
The following worked for me, which looks and sounds what you had already designed but maybe comparing below with what you have will identify the gap:
--> To help others, please mark this as Correct or Helpful if this response has been of any use. <--
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2022 04:00 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2023 12:22 PM
How could I update records based on if the current value or current display value is different from the previous value or previous display value? I want to update the previous value (the string value of my record number) that is not present for the current value. I am trying to use the changed fields array.object to update a record that is removed from a list type field on the triggering record. Both the triggering and referenced records are from the same table. It is a custom table btw. But it would be like if I wanted to have related incidents as a related list on the incident form. I want to remove the triggering record from the referenced record's (in the related_incidents list field on the triggering record) related_incidents field. Definitely hard to explain. If that's confusing please just ask for clarification. Thank you for your help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2023 02:25 PM - edited 12-13-2023 06:55 PM
@Erik Stuer - As the original question has been solved I would suggest opening a new question specific to your issue on the community. You can always reference this post in your question if it helps.
Not sure i am totally following, perhaps some screen shots would help explain further 🙂