Hi There,
I am writing as Alteryx client in Python for for some legacy work flow prepared by third party for me.
Everything looks fine until, I am to fetch current job status until the job complete, terminated, failure, disable or not running
I need to report what is current status.
I could not find any document to where all possible values for status are mentioned.
Note, I am calling: /v1/workflow/{appid}/jobs and /v1/job/{jobID} Rest APIs
I believe below are the possible values:
REFERENCE TABLE
status_int | display_value |
410 | In Progress |
188 | Canceled |
109 | Completed |
192 | Hedge Fund |
111 | Medium |
112 | High |
110 | Low |
189 | Urgent |
216 | Execution Only |
214 | PB |
I think Job status can also be "Blocked", "Disabled", "Holt" ...
Until when I should keep checking current status of Job? :think
Member name | Value | Description |
STATUS_Info | 1 | Status Message: Information |
STATUS_Warning | 2 | Status Message: Warning |
STATUS_Error | 3 | Status Message: Error |
STATUS_Complete | 4 | The tool has completed its processing |
STATUS_FieldConversionError | 5 | Status Message: Field Conversion Error |
STATUS_FieldConversionErrorLimit | 6 | The field conversion error limit has been reached |
STATUS_Disabled | 7 | output tools have been disabled |
STATUS_File_Input | 8 | Input file of this tool |
STATUS_File_Output | 9 | Output file of this tool |
STATUS_UpdateOutputMetaInfoXml | 10 | XML that is the updated meta info for this tool. |
STATUS_UpdateOutputConfigXml | 11 | XML that is the configuration for this tool. |
STATUS_RequestAutoConfigRefresh | 12 | This will cause the config to refresh in the GUI with no user interaction typicaly this is done when the tool is already in an error state, but maybe the gui can fix it with no user interaction. |
STATUS_DocumentTempFile | 13 | Usually a browse. |
STATUS_TempDirectory | 14 | the directory of %Temp% |
STATUS_File_Dependency | 15 | the dependent files associated with a compound file - Status_File_Output has the main file to link to this has the main file (fully pathed) | fully pathed dependent file | fully pathed dependent file | etc |
STATUS_CacheTempFile | 16 | A temporary file for caching data between runs. |
STATUS_AppendOrUpdateOutputConfigXml | 18 | append something to the XML config data for this tool, or update an existing node. |
STATUS_ConnectInfoXml | 17 | XML that is the Connection information for this tool. |
STATUS_LowDiskWarning | 20 | This will tell the user that the free disk space is running low and pause the module untile the user responds |
STATUS_SafeModeError | 21 | |
STATUS_RestrictedDataSetError | 22 | |
STATUS_ChooseFromMultiple | 30 | This will present the user with a choice of results. It is typically used for the geocoder for a multiple match but there is no reason it couldn't be used by any tool. The Message value is a \n delimited list of strings. The 1st string is the question that will be at the top of the dialog. The following are the choices that the user can pick from -1 for cancel return is -2 for 1st to all, -3 for none to all 0 for none, 1...N for a specific value |
STATUS_PreviewFail | 31 | In preview mode send PREVIEW_FAIL if not supported |
STATUS_OutputFieldNames | 40 | The field names for this SRCT output tool. |
STATUS_OutputRecord | 41 | The record (comma separated, quoted) for this SRCT output tool. |
STATUS_RecordCountAndSize | 50 | Indicates the number and size of records output by the tool so far. The string will be in the format: "OutputName|RecordCount\nTotalSize" |
STATUS_BrowseEverywhereFileName | 70 | The FileName of the temporary yxbe file containing the Browse Everywhere data for this run. |
STATUS_BrowseEverywhereFileNameEx | 71 | The FileName of the temporary yxbe file containing the Browse Everywhere data for e1 in e2 for this run. |
STATUS_SharedAssetCreated | 90 | |
STATUS_SharedAssetRequested | 91 | |
STATUS_ReleaseAssetRequested | 92 | |
STATUS_DisplayCustomDialog | 99 | |
STATUS_InsightUpdate | 100 | Indicates an insight needs to be updated on the gallery. |