
Announcements
Hello,
I have a flow which is taking information in a sharepoint list and then building an item in Azure Devops when a field is updated. Recently i have started getting the below error periodically.
Unable to process template language expressions in action 'Create_a_work_item' 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.'.
What does this mean? Is it saying a field that should be an integer is not coming through in that format?
You need to check the input value before converting it to integer using int() function. You can use if condition to check if the value is integer or not. Here is an example:
if(isInt(<dynamic content>),int(<dynamic content>),null)
If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.