Question-BPM Length E9

A question to my colleagues
I have this code in E9 where it validates the longitd of a field and I would like to know what the code for E10 would be. I appreciate your help

------------E9--------------------
if length(ttCustomer.ResaleID) = 12
then ttCustomer.ResaleID
else if length(ttCustomer.ResaleID) = 13
then ttCustomer.ResaleID
else “ERROR”

E10 BPM’s are written in C#.

To get the length it would be ttCustomer.ResaleID.Length

2 Likes