cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

IF Else Statement

DianaPalmer
Level 2
How do you write an IF else statement as an expression in Blueprism.  I want to use the calculation stage to determine if one date is earlier than the other, then I will use the earlier date and store the earlier date in a data item.
12 REPLIES 12

Absolutely Beautiful! Here is one of my implementations:

Replace(Replace(Len([PoNumber])>0,True,[PoNumber]),False,"Not Available")

I was able to use this for 7 rows in a several multi-calcs, saving me DOZENS stages on the page!

Kevin S. Miller

------------------------------
Kevin Miller
------------------------------

@KevinMiller just make sure you document it well for anyone who comes after you that may need to maintain it. šŸ˜

Cheers,ā€‹

------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------

Thank you @Johan Michiels for this brilliant idea. ā€‹

------------------------------
Kouadio ANDOKOU
------------------------------