Flow Designer "IF / ELSE" flow logic issue

Erik Gunther2
Kilo Guru

I've been wrestling with an issue in Flow Designer for several days and will post several questions on this topic. For this post, I setup a scenario to better understand how Flow Designer is supposed to work. See screenshot below.

find_real_file.png

Refer to 3.3.1. If the If statement on 3.2 evaluates to False and 3.3 shows Completed, why does 3.3.1 show Not Run. To me, this appears to be a bug. Note, this ties into a larger issue I'm having, but I first wanted to understand this step. If you look at step 2, the Assign Subflow Outputs status is Completed. I wanted to show what I would expect to show in 3.3.1, that the step is Completed.

Here's the subflow being called from within a larger workflow. 

find_real_file.png

I attempted to use an IF statement (step 2) to evaluate the Subflow Output value to determine if it is True. My test case should have returned True. Notice on step 2 that the IF statement evaluated to False, which is wrong. Also, I'm confused by the RUNTIME VALUE. It shows {0:B}=true. What does this mean? If anything, I would have expected it to return {0:B}=false. But I don't understand yet how to interpret the runtime values.

9 REPLIES 9

Community Alums
Not applicable

I'm on Rome EA and this issue still occurs.  

I'm submitting a HI ticket and will report any findings.

Any word on the HI ticket.  I'm struggling with the same issue(s).  Nested If, Else If or Else aren't working.  It's like it will process the first & the last, but errors on everything in the middle. 

Community Alums
Not applicable

Julie,

I thought I submitted a HI ticket but I haven't been able to find it.  I'm sorry.  I'll continue to look.

 

Community Alums
Not applicable

I've submitted a case with HI Support regarding this issue. 

It is still occurring in ROME.

Community Alums
Not applicable

Here is the response I received from HI Support.  NOTE:  This is assuming you are using stages within the Flow.  I was using the Requested Item stages in my flow.


HI Support's Response

I reviewed the flow context and it is working as expected.
The **Else If** logic was evaluated true and went to the next step of **Update Record** where **Request Cancelled** stage was used.
When the flow hits this stage, it will trigger the **cancel flow on request cancelled** business rule and cancels the entire flow execution.
So, it will not run the action.