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 Platform Community / Forums / Power Automate / How to check if a list...
Power Automate
Answered

How to check if a list has more than one item?

(0) ShareShare
ReportReport
Posted on by 36

Hello community,

 

Have a PDF text extraction flow, and use REGEX to capture data ((\d{2}/\d{2}/\d{4})) and save the result in a %DATE% variable

The result is returned in the format of a list: %data[0]%, %data[1]% %data[2]%...

How can I know if this list has more than one item, or date in this case? I tried some actions with %date[1]% but an error appears because when it doesn't have %data[1]% it doesn't find it and gives an error. Okay, but I want to know when this list has more than one item or if it's just one.

 

Can you help me please?

 

contabilcomfica_0-1708958817946.png

 

 

I have the same question (0)
  • Verified answer
    contabilcomfica Profile Picture
    36 on at

    I resolved %date.count%

     

    Tks

  • CU16071609-1 Profile Picture
    6,255 Moderator on at

    @contabilcomfica 

    It's great to see that you've figured it out on your own.

     

    Please mark your answer as the solution and close this topic. Happy Automation!!

     

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 293 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 186 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 144 Super User 2026 Season 2

Last 30 days Overall leaderboard