Forum Discussion
j_angelevski
4 years agoContributor III
Hi @Rahul,
If the $entity.exports
will always be an array of a single object then you can check the status with the following expression: $entity.exports[0].status
or jsonPath($, "$entity.exports[*].status").toString()
. If the exports
array can have multiple objects with multiple statuses, then that depends which status you want to check.
Rahul
4 years agoNew Contributor III
If status comes 1 for the first API hit then we need to retry until status comes 0.
Note: The status column can have two values (1 or 0). 1 indicates a report in progress and 0 indicates a report in progress.