I need to Remove object in response payload if condition is true.

I have a response body coming in , it has one array with 200 json objects in it.

I need to filter the objects like "job_status" != "true", remove the object and send the rest back to the consumer.

0 1 184
1 REPLY 1

Not applicable

you can use javascript policy and loop on all objects with condition. if condition is false you can remove the object.