cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
v-yashah
Level: Power Up

Return value of Item()['Coulmn Name'] has been changed

We have observed issue in our Microsoft Flow, where we were using one simple expression to get the column value from SharePoint list, but now it is returning unexpected value

 

Issue1.png

 

Expectation – It should fetch the value of ‘ID’ column from the SharePoint list and then it will convert into the Integer data type.

Example – ‘ID’ column value in SharePoint list – 12

Int(item()[‘ID’]) = 12

Current Behaviour – item()[‘ID’] expression is returning 1

 

Now, we have used normal 'ID' column and it has started working as expected.

 

Issue2.png

 

Can any help here to confirm, if anything has changed in the way evaluation of expression take place?

3 REPLIES 3
Highlighted
Super User
Super User

Re: Return value of Item()['Coulmn Name'] has been changed

Hey @v-yashah 

 

 

You could use your int() expression with the ID that you get from your dynamic content.

Something like this:

triggerBodyIDToInt.PNG

So your ID will be parsed to an int if you do it like this.

 

There are by my knowledge no changes in how expressions are evaluated.

 

Kind regards

 

 

Tom





Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!





Super User
Super User

Re: Return value of Item()['Coulmn Name'] has been changed

@v-yashah 

You are using item() inside a repeating action over an array, right?

To make sure about the content of item(), what you can do is to add a Compose action block before the one you are currently invoking item().

You can add item() inside the compose, and verify after execution its structure

Hope this helps

 





If anybody solved your question, remember to mark its post as a solution!

Proud to be a Flownaut!





Community Support Team
Community Support Team

Re: Return value of Item()['Coulmn Name'] has been changed

Hi @v-yashah ,

 

As far as I know, the ID field in SharePoint is a number type, a positive integer and has a unique value.

 

When configuring Insert row action, if the type of the field is Integer, you could directly use Dynamic content.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

Microsoft Flow Online Conference

Join us for a FULL day of FREE Microsoft Flow Sessions from some of the best minds in the industry!

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

thirdImage

New Flow Community Board!

Check out the new Microsoft Flow Community Blog Topic Suggestion board!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Users Online
Currently online: 52 members 4,241 guests
Please welcome our newest community members: