cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Julian1
Frequent Visitor

Select-Action for numbers instead of strings with quotationmarks

Hello dear Community,

 

right now I am working on a flow. Everything works fine so far. But I need to make a specific Schema to upload the Object in the end. I tried to achieve this specific structure by using a "Select" action:

 

 

...But the output-object will look like this:

everything is handled as strings with quotationmarks... How can I achieve that the number-fields keep their datatype "number"/"integer" and doesnt get converted to strings with quotationmarks?

 

Any help appreciated!

 

4 REPLIES 4
edgonzales
Super User II
Super User II

@Julian1 

Hi there.  I am probably over-simplifying things, but would INT() work?

 

Keep us posted.

-Ed-

 

 

If this reply has answered your question or resolved your challenge, please consider marking it as a Solution. This helps other users find it more easily via search.

rebeccas
Super User
Super User

I haven't used it for this specifically but when I have stuff I need as a value I use 'Compose' and then make it a value using int() that was suggested above. There may be an easier way but I typically have to use two compose for each...one that gets the item and one that converts it to an integer. I would try it once first to see if you can but for mine I did do it twice...so I have:

 

Compose1 - select the item from dynamic content

Compose2 - int(outputs('Compose1'))

 

 

Would wrapping the INT() around the value in your select map work?

v-bacao-msft
Community Support
Community Support

 

Hi @Julian1 ,

 

I want to know where you need to apply Select's output.

Basically, the output of Select exists in JSON format, so the data exists in the form of key-value pairs.

Because the format of these fields is originally a string, quotation marks are added outside the value of the field. However, quotation marks will automatically disappear when referring to these field values.

 

Like:

77.PNG78.PNG79.PNG

Hope it makes senses.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (58,664)