- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2024 05:16 AM
Hi Experts!
I am facing a weird issue where my Flow condition checks for an output string value, which is returned from Rest API call & I am parsing the JSON to a string value.
The condition is getting evaluated as true but both true & false conditions are getting executed.
In the above screenshot, the "If" condition is evaluated true as show below:
But the "create catalog task" action is also triggered which is not supposed to trigger.
Then flow steps looks like this in the editor:
Any assistance will be greatly appreciated.
Thanks,
Shantanu
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2024 05:25 AM
You are missing an "else" statement in your flow logic. The catalog task will always be created in your flow, regardless of the outcome of your "If" statement. It should look more like this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2024 05:25 AM
You are missing an "else" statement in your flow logic. The catalog task will always be created in your flow, regardless of the outcome of your "If" statement. It should look more like this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2024 06:44 AM
Thanks! It helped!