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 initialize obje...
Power Automate
Answered

how to initialize object variable

(0) ShareShare
ReportReport
Posted on by 47

I would like to initialize object like below json object. but power flow returns The expression is invalid.

{

"a": "",

"b": "'

}

 

shinydeng_0-1702622764534.png

 

Categories:
I have the same question (0)
  • Manish Solanki Profile Picture
    15,167 Moderator on at

    Hi @shinydeng 

     

    Pls add the JSON in the value parameter:

    ManishSolanki_0-1702623490062.png

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

  • Verified answer
    v-yetonggu-msft Profile Picture
    Microsoft Employee on at

    Hi @shinydeng ,

    Please switch to classic designer.

    vyetonggumsft_0-1702623542985.png

    Best Regards,

    Sunshine Gu

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 589

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 284 Super User 2026 Season 1

Last 30 days Overall leaderboard