Some PDIs are currently unavailable, and PDI actions are paused. View the latest updates here. Read More

JSON parser step in flow action for dynamic payload

ShAn21
Tera Guru

Hello Team,

I have a query regarding JSON parser step in flow action. Is it possible to use the JSON parser step if we have a dynamic payload? The rest step doesn't always return same payload. It depends on the params we send.

What I mean is the key value pair will not be the same always.

For Eg: Response 1: {"assigned_to":"xyz"}

Response 2: {"number":"INCXXX","short_description":"abcxyz"}

 

Any feedback here would be appreciated.

 

Thanks

2 REPLIES 2

Sandeep Rajput
Tera Patron

@ShAn21 Are you referring to JSON.parse() then yes it can parse the dynamic payload.

No. I mean using JSON parser step in flow action. It is usually used to parse rest step response.