The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Flow Designer: Insert an Else Clause into an Existing If/Then

jmiskey
Kilo Sage

I have a flow with an existing If/Then, and am not trying to add an Else clause to it, but do not see how to do that.  No matter where I go to try to add that Flow Logic, the "Else" option appears to be disabled/unavailable.

 

Here is a snippet of my flow:

jmiskey_0-1709907851474.png

 

I want to add the "Else" after step 13 and before step 14.

 

If I click on the "+" under step 13, this is what I see:

 

jmiskey_1-1709907953082.png

 

How can I add an Else clause to this existing If/Then?

 

 

1 ACCEPTED SOLUTION

Sohail Khilji
Kilo Patron
Kilo Patron

Hi @jmiskey ,

 

The reason why you are unable to use Else or Else if is because you have not tried to get them under the IF block.

The yellow line under your 13th action will lead you use Else or Else if statements...

 

so it will look like this:

 

>----IF (x is number)

     >-----then > do logic

>----Else if ( yours else condition...)

or

>----Else (your else condition..)

 

Add else of else if here:

SohailKhilji_0-1710050681329.png

 


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect

View solution in original post

7 REPLIES 7

DanielCordick
Mega Patron
Mega Patron

seems like there might be something wrong with the flow,  Have you tried making a copy and then try adding the else statement?

I was able to do this with my PDI so thats where i would start

DanielCordick_0-1710044805926.png

 

Simran Gadodiya
Mega Sage

Hello @jmiskey 

As per my understanding you are trying to add else condition inside then block that why you are not able to mark get else and else if.

Try to add logic after 13 step(not on '+' icon inside then block)

Thanks

Mark this as helpful and correct if this works for you.

 

Sohail Khilji
Kilo Patron
Kilo Patron

Hi @jmiskey ,

 

The reason why you are unable to use Else or Else if is because you have not tried to get them under the IF block.

The yellow line under your 13th action will lead you use Else or Else if statements...

 

so it will look like this:

 

>----IF (x is number)

     >-----then > do logic

>----Else if ( yours else condition...)

or

>----Else (your else condition..)

 

Add else of else if here:

SohailKhilji_0-1710050681329.png

 


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect

Thank you.  That was exactly it.  I had to actually select the line first to get the "+" to appear over it.  Thank you for posting the visual - that was very helpful to me.

 

Thanks for all the replies.