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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

Power Automate

(0) ShareShare
ReportReport
Posted on by 8

Greetings to all:

I have a situation with my PowerAutomate, my process is to upload a two column date from Excel to SharePoint.
seeing several examples of how I can do it. But this is throwing me an execution error, if you can help me to finish my work. I can thank you.

This is the error that tells me:

 

Unable to process template language expressions in action 'ComposeReferido' inputs at line '1' and column '18840': 'The template language function 'int' was invoked with a parameter that is not valid. The value cannot be converted to the target type.'.

 

Pawer Automate.PNG

Categories:
  • Gopala_Krishna Profile Picture
    1,495 on at

    @icq2102 

    The error indicates that the parameter passed in function int() is not of type string. The conversion function int() converts any string to an integer if the parameter is not of type string then it throws an error.

     

    This can also happen at times when the column that you are trying to convert contains blank values, let us consider that you have a column in excel sheet called "Age" and you are trying to convert this to integer value, if the "Age" contains blank values then those cannot be convert and it gives an error. To tackle the blank value scenario you can make use of the below expression.

     

    if(empty("Age"),null,int("Age"))

     

    The above expression tries to compare the value in age column and if it's empty then we get a null there else we will get whatever value that was present in Age column converted as an integer.

     

    ------------------------------------------------------------------------------------------------------------------------------

    If the information shared helps, please consider giving a thumbs up 👍 and mark solution as resolved

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 423

#2
11manish Profile Picture

11manish 308 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 177

Last 30 days Overall leaderboard