Skip to main content

# AutomationExecution

This type maps an automation execution.

    type AutomationExecution {
      id: ID!
      name: String!
      customer: Customer
      description: String
      detail: String
      end: DateTime
      job: AutomationJob
      log: String
      message: String
      start: DateTime
      status: AutomationExecutionStatus!
      system: MonitoredSystem
      timestamp: DateTime
      user: User
    }

### Fields​

#### `AutomationExecution.id` ● `ID!` non-null scalar​

The id of the execution

#### `AutomationExecution.name` ● `String!` non-null scalar​

The name of the execution

#### `AutomationExecution.customer` ● `Customer` object​

The customer this execution belongs to

#### `AutomationExecution.description` ● `String` scalar​

This executions description

#### `AutomationExecution.detail` ● `String` scalar​

This executions detail

#### `AutomationExecution.end` ● `DateTime` scalar​

The end time of this execution. If it is still running this contains the current timestamp.

#### `AutomationExecution.job` ● `AutomationJob` object​

The reference to the automation job. Can be empty if e.g. a system action gets executed without a job.

#### `AutomationExecution.log` ● `String` scalar​

The log of this execution

#### `AutomationExecution.message` ● `String` scalar​

The message of this execution

#### `AutomationExecution.start` ● `DateTime` scalar​

The start time of this execution.

#### `AutomationExecution.status` ● `AutomationExecutionStatus!` non-null enum​

The current status

#### `AutomationExecution.system` ● `MonitoredSystem` interface​

The affected monitored system?

#### `AutomationExecution.timestamp` ● `DateTime` scalar​

The timestamp of the last change to this execution.

#### `AutomationExecution.user` ● `User` object​

The user triggering this execution

### Returned By​

`automationExecution` query ● `automationExecutions` query ● `executeAutomationAction` query ● `executeSystemAction` mutation

### Member Of​

`AutomationJob` object