Flow designer action step Build JSON turns integer into a string

Michael Culhan1
Kilo Sage

I want to send an integer in JSON but payload builder turns it into a string.  In the action input it is specified as an integer.

 

find_real_file.png

1 ACCEPTED SOLUTION

Hi @Michael C 

unfortunately you have to take the Payload Builder as it is and in most of the cases it doesn't matter as JavaScript is not a type-safe language like Java or C++. That means under the hood, the data in variables is permanently converted to other data types.

But I would like to know what concerns do you have with it? Does the consumer have any issues with the stringified version of the number?

Kind regards
Maik

View solution in original post

5 REPLIES 5

Glad to help you!