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 / Converted string to IN...
Power Automate
Unanswered

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!

 

 

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @mad05150 

     

    Could you please post a screen shot of your flow?

     

    Thanks

  • mad05150 Profile Picture
    on at

    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

  • Verified answer
    abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @mad05150 

     

    Try the following

     

    image.png

     

    Expression I used above is as follows:

     

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

  • mad05150 Profile Picture
    on at

    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!!

  • mad05150 Profile Picture
    on at

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

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

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard