Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Converted string to INT how do you return it to the original Get Items data?

(0) ShareShare
ReportReport
Posted on by

So I'm trying to get data from a SharePoint list. The data is a number formatted as a string.

I've used INT to convert a DaysRemaining string to an integer within the flow, and I can see that it was successful, but I cannot combine it back to the original data to

1. Filter the array on DaysRemaining < 90

2. Create a CSV attachment to an email of the filtered data with other fields.

 

I know how to capture output to a CSV attachment.

What I'm having trouble with is getting the original data ie. Product, TeamLead, etc connected with the converted integer. So I can filter the array for just the items I want, then output that to the CSV.

 

Hope I'm explaining this correctly. This is my 3rd day working with Flows 🙂

Thanks!

 

 

  • mad05150 Profile Picture
    on at
    Re: Converted string to INT how do you return it to the original Get Items data?

    I figured it out. the create table was referencing the wrong output. Thanks for all your help!!!

  • mad05150 Profile Picture
    on at
    Re: Converted string to INT how do you return it to the original Get Items data?

    Ok one last thing. I've added to that function and checked to see if it was less than or equal to 0. Which returns true/false correctly. Can I filter the array to just select the true items?

    I can't seem to get that to work.

     

    Screenshot 2020-11-19 160737.png

    Thanks!!

  • Verified answer
    abm abm Profile Picture
    32,488 Most Valuable Professional on at
    Re: Converted string to INT how do you return it to the original Get Items data?

    Hi @mad05150 

     

    Try the following

     

    image.png

     

    Expression I used above is as follows:

     

    int(item()?['TaskId'])

  • mad05150 Profile Picture
    on at
    Re: Converted string to INT how do you return it to the original Get Items data?

    Full disclosure, I've added and deleted so much from the flow trying to learn it. This is where I'm back to currently.

    Only have the string conversion left.

     

    Screenshot 2020-11-19 145242.png

  • abm abm Profile Picture
    32,488 Most Valuable Professional on at
    Re: Converted string to INT how do you return it to the original Get Items data?

    Hi @mad05150 

     

    Could you please post a screen shot of your flow?

     

    Thanks

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492