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 / Help in writing expres...
Power Automate
Unanswered

Help in writing expression

(0) ShareShare
ReportReport
Posted on by

Hello,

I have working on a flow where I am using Get row by ID . I want to fetch a value from that output and use it in a condition. How to write expression to fetch that value. 

 

The output from Get row by Id is as below.

 

Vijayashri1_0-1631294466390.png

 

I tried using expression

outputs('Get_a_row_by_ID_6')?['statuscode@OData.Community.Display.V1.FormattedValue']. but this is not working . Can someone help me

 

Thanks.

 

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    on at

    I used outputs('Get_a_row_by_ID_6')?['body/statuscode@OData.Community.Display.V1.FormattedValue'] which is fetching the right value.

     

    Vijayashri1_0-1631302878733.png

     

    but the condition is not working as expected. 

  • Verified answer
    Expiscornovus Profile Picture
    33,183 Most Valuable Professional on at

    Hi @Anonymous,

     

    Can you add the Body part to the expression?

     

    Try this expression instead:

    outputs('Get_a_row_by_ID_6')?['body/statuscode@OData.Community.Display.V1.FormattedValue']

     

  • Expiscornovus Profile Picture
    33,183 Most Valuable Professional on at

    Hi @Anonymous,

     

    I think you need to switch the OR to an AND in your condition to get it working.

  • MSDynamic Profile Picture
    Microsoft Employee on at

    Hi! Is that '?' syntax used to retrieve the value from the JSON key?

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

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard