Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

How check the status of get item

(0) ShareShare
ReportReport
Posted on by 496

 

Hi Experts ,

 

I have  two lists , one is having transaction data (ULD-Details) and next is a  static table (ServiceAreas) .. 

Int the ULD-Details   list having a field containing country and service area (IATA Code) .. My flow is first reading the ULD-Details list and check whether the service area code  is available in the SeviceArea List .. for that i used below conditions ..

 

Now i want to check the status of the Get item 4 and update a column in ULD-Details list whether its available or not in the Service Area List

 

how can we trap the output of below Get Item 4 and depend on the status do updates.

ajithd6368_0-1693741261252.png

 

rgds

AD

  • ajithd6368 Profile Picture
    496 on at
    Re: How check the status of get item

    Thanks Royg ,

     

    it worked with "length(outputs('Get_items_4')?['body/value'])" 

     

    rgds

    AD

  • Verified answer
    royg Profile Picture
    on at
    Re: How check the status of get item

    Hi @ajithd6368,

    The result of that action is an array of records.

    It depends on your requirement but you can check if the length of the result is greater than 0, that means there's at least 1 item that meets your criteria. Add a condition where "length(outputs('Get_items_4')?['body/value'])" is greater than 0.

    Suppose you want to get the 1st item and check the status. In that case add a compose action in the "yes" action and type: "outputs('Get_items_4')?['body/value']?[0]?['Status'] to get the item's status.

    Hope this helps you move forward.

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,668 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow