I am monitoring the execution of a Matillion Task via API from a Python script.
Once the task is done I want to continue toing other things in Python, but only if it finished successfully.
API Call:
http://<InstanceAddress>/rest/v1/group/name/<groupName>/project/name/<projectName>/task/id/<taskId>
Example return:
{
"id": 12345,
"type": "RUN_ORCHESTRATION",
.....
"environmentName": "test",
"state": "SUCCESS",
"enqueuedTime": 1594729190954,
"startTime": 1594729190955,
"endTime": 1594729201024,
.....
Here "SUCCESS" is displayed, but what are other options?
I know of "QUEUED" and "RUNNING" so far.
The general Docu is not sufficient in this case: