web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Automate
Answered

Int failure?

(0) ShareShare
ReportReport
Posted on by 25

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? 

Categories:
I have the same question (0)
  • Verified answer
    ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at

    Hi @Sam_Lea-Wilson 

     

    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)
    above expression checks if the input value is of integer type and accordingly apply int() function. 
     
     
     

     

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard