Can we convert Enumeration to integer datatype

0
Hi, I am trying to covert enumeration (‘Jan’, ‘Feb, ‘Mar’,….) to integer(1,2,3,…..), when I select ‘Jan’ from drop down and should convert to 1 in microflow how to do this, please help me
asked
2 answers
1

You can use the Object decision type for this use-case.

answered
1

Just create a submicroflow which has the Enum as an input parameter. Use a Decision activity and use an integer as your return variable. Call that microflow whenever you need to make the conversion.

 

answered