Bug in IDN workflow engine to parse integer values from JSON response

The HTTP action returns a numeric value in the response

{
  "data" : {
                "id" : 12345678,
                "name" : "Joe"
            }
}

While using the above response in next action, the $.httprequest.data.id is not parsed. The name is parsed correctly.

Can you explain further what the issue is? What are you trying to do with the id?

Are you missing the “”? So:

"id" : "12345678",

I need to use that id in a url for the next request. As the id is integer the WF engine is not able to parse $.httprequest.data.id in the next step.

No. the third party api sends the id as integer. Its the integer value i need to read from the previous step and use it in url for the next step. The WF engine fails to parse that integer value. If it would have been string, there is no issue.

Have you tried storing the id in a variable? I don’t see a way to convert an integer to a string in workflows, I’m wondering if adding a variable step might help with that.

Yes. Even storing as a variable doesn’t work. The engine cannot parse integer

Unfortunately, I haven’t found a way to convert integer to string (or vice versa) in workflows. What is the system you are receiving the response from? Is there another endpoint you can use the returns the value as a string?

Nope. I discussed with them. They maintain that their ids are integers and it’s a valid json value.

Can you try to add define operator by defining new variable and value as $.httprequest.data.id and see the output ?

Tried that. It doesn’t work. The define step fails