first(body('Filter_array'))?['Seats']
This return the seat value as "18" instead of 18.
How do I get the int value of this... this is being done in a compose...
I tried both of these but Power Automate didn't like either...
first(body('Filter_array'))?int(['Seats'])
int(first(body('Filter_array'))?['Seats'])
With the 1st one it says the expression is invalid and with the 2nd one and it accepts it but when I run it - it says ...
Unable to process template language expressions in action 'Compose_4' inputs at line '1' and column '25964': 'The template language function 'int' was invoked with a parameter that is not valid. The value cannot be converted to the target type.'.