Check state change in flow designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2023 08:31 PM
Hello Everyone,
I have a requirement that whenever state of incident changes from resolved to in progress a record should be created...but due to some requirements I can't put this condition in trigger condition of flow....What should I use so that I can check state change inside the flow because "if" statement only has "is" and "is not" options.
Thanks and Regards,
Hrithik Nirupam.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2023 08:52 PM
Hi,
You can try Wait for condition.
Thanks
Anil Lande
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2023 08:59 PM
Hi @Anil Lande ,
Wait for Condition won't help me because the ask is that when state changes from Resolved to in progress, record should get created but if state changes from New to In progress nothing should happen and since, in wait for condition that option is not there it won't be helpful.
Thanks,
Hrithik

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2023 09:03 PM
Can you please explain what is the purpose of your flow and what is current trigger condition?
Thanks
Anil Lande

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2023 09:10 PM
You can use two wait for conditions.
1. Use wait for condition to wait until incident state is Resolved.
2. Once incident is inside resolved use another wait for condition to wait until <state IS ONE OF In progress, Closed>
This is to end flow if incident is closed.
3. Inside 2nd Wait for condition use IF condition to check State IS In Progress and if it is true then create task else if state is closed then END FLOW.
Thanks
Anil Lande