Multiply two enumeration types in microflow

0
what to do if I have two dropdown fields (Enumeration Data Types) and I want to multiply them and needs an answer in third field which is Decimal Data type. Is there any solution for this?
asked
2 answers
0

Hi Asad,

Depending on where your value is in the enumeration, you can either do:

parseInteger(getCaption($EnumVal1)) * parseInteger(getCaption($EnumVal2))

or

parseInteger(replaceAll(getKey($EnumVal1), ‘_’, ‘’)) * parseInteger(replaceAll(getKey($EnumVal2), ‘_’, ‘’))

answered
0

I have this error while using second option

 

 

 

answered