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 Platform Community / Forums / Power Automate / Get changes for an ite...
Power Automate
Unanswered

Get changes for an item or file failure - unknown error

(0) ShareShare
ReportReport
Posted on by 4

Hi, 

 

I am getting really stuck on an issue with the 'Get changes for an item or file' block in one of my flows. I have used this several times before without issue but for some reason this flow is failing on this part.

 

To note: I have versioning opted in on my Sharepoint list already

 

Charlie_W_0-1718145671167.png

 

The error message i'm getting is 'Unable to process template language expressions in action 'Get_changes_for_an_item_or_a_file_(properties_only)' 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.'.'

 

In my Get changes for an item or file block i have it set up as follows

 

Charlie_W_1-1718145770387.png

 

The 'since' expression is set as 

sub(int(triggerOutputs()?['body/{VersionNumber}']), 1)
 
I've used this many times before without issue and have confirmed that the Version number is being included in the outputs of each flow run.
 
So i'm a little confused as to why i'm seeing this error now?
 
Any help on this would be much appreciated
 
Thanks

'

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

    Hi @Charlie_W 

     

    Pls verify if you are getting decimal or period in version number.

     

     

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

     

  • Charlie_W Profile Picture
    4 on at

    Hi @ManishSolanki 


    My version number does include a decimal.

    This seems to be the case with all my flows that include this action without having any issue though?

     

    I tried recreating the first few steps in a new flow and it worked this time but I am really confused as to why this Flow is failing, would be great to understand this so to avoid having to rebuild Flows in the future

     

    thanks

    Charlie

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard