clintcarr/qrspy

LastExecutionStatus on task dictionary

Closed this issue · 1 comments

I am looking to find the last status of tasks in the QMC. When I make a call to get_task(opt=True) I get the dictionary for lastExecutionResult. This contains a Status column, do we have a dictionary for what the values translate too?
So far I have been able to work out that
8 = failed
9 = skipped
7 = running

                                  "0: NeverStarted",
                                  "1: Triggered",
                                  "2: Started",
                                  "3: Queued",
                                  "4: AbortInitiated",
                                  "5: Aborting",
                                  "6: Aborted",
                                  "7: FinishedSuccess",
                                  "8: FinishedFail",
                                  "9: Skipped",
                                  "10: Retry",
                                  "11: Error",
                                  "12: Reset"