Data models

Submissions

A submission is created when you submit a workflow through the /workflows endpoint. It contains information about the workflow execution such as the start and end time as well as the current status.

PropertyTypeDescription
id
(required)
stringUnique submission identifier
name
(optional)
stringAn optional human-readable submission name. The value is derived from the submitted workflow’s name if it has any.
workflow
(required)
objectThe submitted workflow
priority
(optional)
numberA priority used during scheduling. Process chains generated from submissions with higher priorities will be scheduled before those with lower priorities. Negative values are allowed. The value is derived from the submitted workflow but can be overridden. The submission’s priority always takes precedence over the workflow’s priority when generating process chains.
startTime
(optional)
stringAn ISO 8601 timestamp denoting the date and time when the workflow execution was started. May be null if the execution has not started yet.
endTime
(optional)
stringAn ISO 8601 timestamp denoting the date and time when the workflow execution finished. May be null if the execution has not finished yet.
status
(required)
stringThe current status of the submission
requiredCapabilities
(required)
arrayA set of strings specifying capabilities a host system must provide to be able to execute this workflow. See also setups.
source
(optional)
stringThe original, unaltered workflow source as it was submitted through the /workflows endpoint. May be null if the workflow was not submitted through the endpoint or if the source is unavailable.
runningProcessChains
(required)
numberThe number of process chains currently being executed
pausedProcessChains
(required)
numberThe number of process chains whose execution is currently paused
cancelledProcessChains
(required)
numberThe number of process chains that have been cancelled
succeededProcessChains
(required)
numberThe number of process chains that have finished successfully
failedProcessChains
(required)
numberThe number of process chains whose execution has failed
totalProcessChains
(required)
numberThe current total number of process chains in this submission. May increase during execution when new process chains are generated.
results
(optional)
objectIf status is SUCCESS or PARTIAL_SUCCESS, this property contains the list of workflow result files grouped by their output variable ID. Otherwise, it is null.
errorMessage
(optional)
stringIf status is ERROR, this property contains a human-readable error message. Otherwise, it is null.
Example
id: aiq7eios7ubxglkcqx5a
workflow:
  api: 4.7.0
  vars:
    - id: myInputFile
      value: /data/input.txt
    - id: myOutputFile
  actions:
    - type: execute
      service: cp
      inputs:
        - id: input_file
          var: myInputFile
      outputs:
        - id: output_file
          var: myOutputFile
          store: true
startTime: '2020-02-13T15:38:58.719382Z'
endTime: '2020-02-13T15:39:00.807715Z'
status: SUCCESS
runningProcessChains: 0
pausedProcessChains: 0
cancelledProcessChains: 0
succeededProcessChains: 1
failedProcessChains: 0
totalProcessChains: 1
results:
  myOutputFile:
    - /data/out/aiq7eios7ubxglkcqx5a/aiq7hygs7ubxglkcrf5a

Submission status

The following table shows the statuses a submission can have:

StatusDescription
ACCEPTEDThe submission has been accepted by Steep but execution has not started yet
RUNNINGThe submission is currently being executed
CANCELLEDThe submission was cancelled
SUCCESSThe execution of the submission finished successfully
PARTIAL_SUCCESSThe submission was executed completely but one or more process chains failed
ERRORThe execution of the submission failed