Is it possible to create condition operator for IF flow logic in Flow Designer?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2024 08:53 AM
I have a requirement, to cater to which, it is important, that I am able to create a condition, in the IF Flow, of Flow Designer Like:
If a specific field’s value CHANGES FROM False AND it CHANGES to True, then a particular activity would occur.
But, I see in the conditions operator, for IF condition, we only have: is | is not | is empty | is not empty | contains | does not contain
Is it Possible to create conditions operator CHANGES FROM, CHANGES TO- like business rule- which we can use while building IF Flow condition, in Flow Designer?
If not possible, can there be any work around- to achieve this via scripting?
P.S- It is important to achieve this use-case via Flow designer, we cant use Business Rule for this- since the requirement involves lots of different combination of criterias, which if we try to achieve via Business Rule, we need to create a couple of Business Rules and Flows (together), which would impact maintainability of code- for future scope of enhancement.
If anyone has come across this type of situation, any leads of this, would be very helpful!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2024 11:20 AM
You could store the Field's value in a flow variable, and then compair them throughout your flow.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2024 01:40 AM
Hello @MeghaB
As per my understanding, since the flows run with system schedular, previous record state will not be available in flow and hence cannot have changes related condition.
One workaround would be to have your logic in sub-flow and create business rule with the condition and then trigger the sub-flow.
For any solution, I think the BR is needed to identify the change of field.
Thank you,
Ali
Thank you,
Ali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2024 03:02 AM
HI @MeghaB
Can you paste exact User Story or what you try to achieve thene i replciate it on my PDI and you will get the solutin within next 24 Hours after i seen your post.
Mark my reply as Helpful so that I can start building a solution for you in detail steps is going to be provided on my next reply.
If you like this opinion and your problem is resolved after reviewing and applying it. Please kindly mark this your best answer🌠 OR mark it Helpful ⛑ if you think that you get some insight from this content relevant to your problem and help me to contribute more to this community