Capstone Project - Strawberry Workflow

seanharris
Tera Contributor

I've just completed the Capstone Project; but my workflow execution looks slightly off.

For some reason the "Else if requested item rejected" flowlogic is showing "not run"; but the example shows it should show "Evaluated-False".

 

seanharris_0-1744328011940.png

 

I've completed all the steps of the workflow as taught, so not sure what's going on.

 

What error needs to be handled?

 

Any guidance would be helpful.

1 REPLY 1

Uncle Rob
Kilo Patron

Not really how it works.  The Else If won't evaluate as false because it doesn't evaluate at all.
In "if / else if" patterns, the Else If will ONLY evaluate if the If evaluates false.
Since in your example the first If evaluated as true, that Else If can't evaluate.
Not Run is the expected behavior. 

Observe this example I built in my PDI

FIRST IF IS TRUE
First IF evaluates as true, so ELSE if can't evaluate at all.

UncleRob_1-1744466859680.png

 

FIRST IF IS FALSE
First IF evaluates as false, therefore ELSE IF can evaluate.

UncleRob_0-1744466803085.png