If condition not working as expected flow designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-02-2022 02:45 AM
Hi Folks,
I'm facing issue with if condition in flow designer. it is verifying output from action is "doesnotexist".
if output from action(validation certificate records if certificate exist it saves output.alreadyavailable = exist if not exists output.alreadyavailable = notexist) is notexist it should evaluate to true. Please help on this if condition is sometimes evaluate to true and sometimes to false. Please help on this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-02-2022 03:14 AM
Can you share what values are coming on 'Result' .
You mentioned the result as "notexist" but in the flow designer it is validating as "doesnotexist"
Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-02-2022 03:40 AM
Thanks for quick response.
I have mentioned it for example actual values of action output values are doesnotexist and exist.
If output returns doesnotexist if condition should evaluate to true.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-02-2022 06:34 AM
Hi Akhil
Can You show the execution details on what's hapenning at that step, what are the values that are coming as output.
Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-05-2022 01:21 AM
Hi @Voona Rohila
when i test action(validatecert) action with certificate name as input it is working fine. But when i test the sub flow with inputs action(validatecert) is always returning doesnotexist. Im giving input as certificate name for action if give certificate is installed and MRD is today or yesterday it should return exist or if is retired or MRD is not today or yesterday it should return doesnotexist. But here after running sub flow it is always returning doesnotexist. If condition is working fine.
Please help on this.
Thanks,
Akhil