Forum Discussion
Rahul
4 years agoNew Contributor III
Attached response screenshot
- j_angelevski4 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
orjsonPath($, "$entity.exports[*].status").toString()
. If theexports
array can have multiple objects with multiple statuses, then that depends which status you want to check.- Rahul4 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.