Reputation: 31
Issue : Unable to multiply in Power Automate.
Error Message :
Unable to process template language expressions in action 'Sales_with_Delta' inputs at line '0' and column '0': 'The template language function 'int' was invoked with a parameter that is not valid. The value cannot be converted to the target type.'.
Expression used for multiplication :
mul(int(outputs('Compose')),float(variables('delta')))
Flow Configuration
Question:
Sales
' with 'delta
' inside 'Sales with Delta
' variablePlease note
Compose
' or 'Object
'Upvotes: 0
Views: 957
Reputation: 11197
You need to be specific when you're referring to a property in an object, try this ...
mul(int(outputs('Compose')['Sales']),float(variables('delta')))
Worked for me ...
... you may just need to work through the .00001 decimal part of the result that you may not want there.
Upvotes: 1