openstack.workflow.v2.execution

openstack.workflow.v2.execution

The Execution Class

The Execution class inherits from Resource.

class openstack.workflow.v2.execution.Execution(_synchronized=False, **attrs)

The base resource

Parameters:_synchronized (bool) – This is not intended to be used directly. See new() and existing().
workflow_name = None

The name of the workflow

workflow_id = None

The ID of the workflow

description = None

A description of the workflow execution

task_execution_id = None

A reference to the parent task execution

status = None

Status can be one of: IDLE, RUNNING, SUCCESS, ERROR, or PAUSED

status_info = None

An optional information string about the status

output = None

The output of the workflow

created_at = None

The time at which the Execution was created

updated_at = None

The time at which the Execution was updated

create(session, prepend_key=True)

Create a remote resource based on this instance.

Parameters:
  • session (Adapter) – The session to use for making this request.
  • prepend_key – A boolean indicating whether the resource_key should be prepended in a resource creation request. Default to True.
Returns:

This Resource instance.

Raises:

MethodNotSupported if Resource.allow_create is not set to True.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.