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 / JSON value from int to...
Power Automate
Unanswered

JSON value from int to string?

(0) ShareShare
ReportReport
Posted on by

Hi,

 

I'm trying to build a flow using JSON values,

 

I need all of the values to be of string type, problem is one of the values is of integer value.

 

How can I convert the value "waste toner bottle" to string?

 

Here is my variable:

garethaw_0-1643300733998.png

 

 

Categories:
I have the same question (0)
  • Verified answer
    v-xiaochen-msft Profile Picture
    on at

    Hi @Anonymous ,

     

    I did a test for you.

    vxiaochenmsft_0-1643680746032.png

    vxiaochenmsft_1-1643680759468.png

    json(variables('var'))
    setProperty(items('Apply_to_each'),'var',string(items('Apply_to_each')?['var']))
    vxiaochenmsft_2-1643680779193.png
    string(variables('var2'))
     
    vxiaochenmsft_3-1643680800930.png

     

    Best Regards,

    Wearsky

     

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