Hi,
I have an array of string which end with the letter 'T'. I was successfully able to remove the letter 'T' from the string by using:
substring(outputs('Compose_-_Amount_Value'),0,sub(length(outputs('Compose_-_Amount_Value')),1)).
However, when I try to convert the output of the above expression, the system does not allow me to do so and given me the error:
Unable to process template language expressions in action 'Compose_2' inputs at line '1' and column '24945': 'The template language function 'int' was invoked with a parameter that is not valid. The value cannot be converted to the target type.'.
Can someone please help me resolve this.
Please note I have to have the integer value inserted into CDS.
Thanks!