Skip to main content

Automation

  • Reference

Manage and run workflows with the AutomationEngine API.

Version 10
npm install @dynatrace-sdk/client-automation

actionExecutionsClient​

import { actionExecutionsClient } from '@dynatrace-sdk/client-automation';

getActionExecution​

actionExecutionsClient.getActionExecution(config): Promise<ActionExecution>

Required scope: automation:workflows:read

Parameters​

NameTypeDescription
config.adminAccessbooleanAllow access to all workflows/executions - additionally requires automation:workflows:admin

Default: false
config.id*requiredstringA UUID string identifying this action execution.

Returns​

Return typeStatus codeDescription
ActionExecution200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { actionExecutionsClient } from "@dynatrace-sdk/client-automation";

const data =
  await actionExecutionsClient.getActionExecution({
    id: "...",
  });

getActionExecutionLog​

actionExecutionsClient.getActionExecutionLog(config): Promise<string>

Required scope: automation:workflows:read

Returns the log output of a specific ActionExecution.

Parameters​

NameTypeDescription
config.adminAccessbooleanAllow access to all workflows/executions - additionally requires automation:workflows:admin

Default: false
config.id*requiredstringA UUID string identifying this action execution.

Returns​

Return typeStatus codeDescription
void200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { actionExecutionsClient } from "@dynatrace-sdk/client-automation";

const data =
  await actionExecutionsClient.getActionExecutionLog({
    id: "...",
  });

actionsSampleResultClient​

import { actionsSampleResultClient } from '@dynatrace-sdk/client-automation';

getActionSampleResult​

⚠️ Deprecated

actionsSampleResultClient.getActionSampleResult(config): Promise<any>

Required scope: automation:workflows:read

Parameters​

NameType
config.actionIdentifier*requiredstring

Returns​

Return typeStatus codeDescription
void200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { actionsSampleResultClient } from "@dynatrace-sdk/client-automation";

const data =
  await actionsSampleResultClient.getActionSampleResult({
    actionIdentifier: "...",
  });

businessCalendarsClient​

import { businessCalendarsClient } from '@dynatrace-sdk/client-automation';

createBusinessCalendar​

businessCalendarsClient.createBusinessCalendar(config): Promise<BusinessCalendarResponse>

Required scope: automation:calendars:write

Parameters​

NameType
config.body*requiredBusinessCalendarCreate

Returns​

Return typeStatus codeDescription
BusinessCalendarResponse201

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { businessCalendarsClient } from "@dynatrace-sdk/client-automation";

const data =
  await businessCalendarsClient.createBusinessCalendar({
    body: { title: "..." },
  });

deleteBusinessCalendar​

businessCalendarsClient.deleteBusinessCalendar(config): Promise<void>

Required scope: automation:calendars:write

Parameters​

NameTypeDescription
config.id*requiredstringA UUID string identifying this business calendar.

Returns​

Return typeStatus codeDescription
void204No response body

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { businessCalendarsClient } from "@dynatrace-sdk/client-automation";

const data =
  await businessCalendarsClient.deleteBusinessCalendar({
    id: "...",
  });

duplicateBusinessCalendar​

businessCalendarsClient.duplicateBusinessCalendar(config): Promise<BusinessCalendarResponse>

Required scope: automation:calendars:write

Parameters​

NameTypeDescription
config.body*requiredDuplicationRequest
config.id*requiredstringA UUID string identifying this business calendar.

Returns​

Return typeStatus codeDescription
BusinessCalendarResponse201

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { businessCalendarsClient } from "@dynatrace-sdk/client-automation";

const data =
  await businessCalendarsClient.duplicateBusinessCalendar({
    id: "...",
    body: {},
  });

getBusinessCalendar​

businessCalendarsClient.getBusinessCalendar(config): Promise<BusinessCalendarResponse>

Required scope: automation:calendars:read

Parameters​

NameTypeDescription
config.id*requiredstringA UUID string identifying this business calendar.

Returns​

Return typeStatus codeDescription
BusinessCalendarResponse200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { businessCalendarsClient } from "@dynatrace-sdk/client-automation";

const data =
  await businessCalendarsClient.getBusinessCalendar({
    id: "...",
  });

getBusinessCalendarHistoryRecord​

businessCalendarsClient.getBusinessCalendarHistoryRecord(config): Promise<BusinessCalendarResponse>

Required scope: automation:calendars:read

Parameters​

NameTypeDescription
config.id*requiredstringA UUID string identifying this business calendar.
config.version*requiredstringPattern: ^[\d]+$

Returns​

Return typeStatus codeDescription
BusinessCalendarResponse200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { businessCalendarsClient } from "@dynatrace-sdk/client-automation";

const data =
  await businessCalendarsClient.getBusinessCalendarHistoryRecord(
    { id: "...", version: "..." },
  );

getBusinessCalendarHistoryRecords​

businessCalendarsClient.getBusinessCalendarHistoryRecords(config): Promise<PaginatedChangeHistory>

Required scope: automation:calendars:read

Parameters​

NameTypeDescription
config.allbooleanWhen false, the latest historical record is not returned.

Default: false
config.id*requiredstringA UUID string identifying this business calendar.
config.limitnumberNumber of results per page. Values above 100 are reduced to 100.
config.offsetnumberThe initial index from which to return the results.

Returns​

Return typeStatus codeDescription
PaginatedChangeHistory200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { businessCalendarsClient } from "@dynatrace-sdk/client-automation";

const data =
  await businessCalendarsClient.getBusinessCalendarHistoryRecords(
    { id: "..." },
  );

getBusinessCalendars​

businessCalendarsClient.getBusinessCalendars(config): Promise<PaginatedBusinessCalendarResponseList>

Required scope: automation:calendars:read

Parameters​

NameTypeDescription
config.limitnumberNumber of results per page. Values above 100 are reduced to 100.
config.offsetnumberThe initial index from which to return the results.
config.orderingstringWhich field to use when ordering the results.
config.searchstringA search term.

Returns​

Return typeStatus codeDescription
PaginatedBusinessCalendarResponseList200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { businessCalendarsClient } from "@dynatrace-sdk/client-automation";

const data =
  await businessCalendarsClient.getBusinessCalendars();

patchBusinessCalendar​

businessCalendarsClient.patchBusinessCalendar(config): Promise<BusinessCalendarResponse>

Required scope: automation:calendars:write

Parameters​

NameTypeDescription
config.body*requiredBusinessCalendarUpdate
config.id*requiredstringA UUID string identifying this business calendar.

Returns​

Return typeStatus codeDescription
BusinessCalendarResponse200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { businessCalendarsClient } from "@dynatrace-sdk/client-automation";

const data =
  await businessCalendarsClient.patchBusinessCalendar({
    id: "...",
    body: {},
  });

restoreBusinessCalendarHistoryRecord​

businessCalendarsClient.restoreBusinessCalendarHistoryRecord(config): Promise<void>

Required scope: automation:calendars:write

Parameters​

NameTypeDescription
config.id*requiredstringA UUID string identifying this business calendar.
config.version*requiredstringPattern: ^[\d]+$

Returns​

Return typeStatus codeDescription
void200No response body

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { businessCalendarsClient } from "@dynatrace-sdk/client-automation";

const data =
  await businessCalendarsClient.restoreBusinessCalendarHistoryRecord(
    { id: "...", version: "..." },
  );

updateBusinessCalendar​

businessCalendarsClient.updateBusinessCalendar(config): Promise<BusinessCalendarResponse>

Required scope: automation:calendars:write

Parameters​

NameTypeDescription
config.body*requiredBusinessCalendarUpdate
config.id*requiredstringA UUID string identifying this business calendar.

Returns​

Return typeStatus codeDescription
BusinessCalendarResponse200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { businessCalendarsClient } from "@dynatrace-sdk/client-automation";

const data =
  await businessCalendarsClient.updateBusinessCalendar({
    id: "...",
    body: {},
  });

eventTriggersClient​

import { eventTriggersClient } from '@dynatrace-sdk/client-automation';

previewFilter​

⚠️ Deprecated

eventTriggersClient.previewFilter(config): Promise<EventTriggerPreviewResponse>

Required scope: automation:workflows:read

Parameters​

NameType
config.body*requiredEventTriggerPreviewRequest

Returns​

Return typeStatus codeDescription
EventTriggerPreviewResponse200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { eventTriggersClient } from "@dynatrace-sdk/client-automation";

const data = await eventTriggersClient.previewFilter({
  body: {
    triggerConfiguration: {
      type: "event",
      value: { query: "..." },
    },
  },
});

executionsClient​

import { executionsClient } from '@dynatrace-sdk/client-automation';

cancelExecution​

executionsClient.cancelExecution(config): Promise<void>

Required scope: automation:workflows:run

Tries to cancel an Execution. Can only be done, if the Execution is in an active state.

Parameters​

NameTypeDescription
config.adminAccessbooleanAllow access to all workflows/executions - additionally requires automation:workflows:admin

Default: false
config.id*requiredstringA UUID string identifying this execution.

Returns​

Return typeStatus codeDescription
void204No response body

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { executionsClient } from "@dynatrace-sdk/client-automation";

const data = await executionsClient.cancelExecution({
  id: "...",
});

cancelTaskExecution​

executionsClient.cancelTaskExecution(config): Promise<void>

Required scope: automation:workflows:run

Cancels task execution. Canceling action executions cause the task to be cancelled, which causes the workflow to be canceled.

Parameters​

NameTypeDescription
config.adminAccessbooleanAllow access to all workflows/executions - additionally requires automation:workflows:admin

Default: false
config.executionId*requiredstring
config.id*requiredstringTask name

Returns​

Return typeStatus codeDescription
void200No response body

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { executionsClient } from "@dynatrace-sdk/client-automation";

const data = await executionsClient.cancelTaskExecution({
  executionId: "...",
  id: "...",
});

getAllEventLogs​

executionsClient.getAllEventLogs(config): Promise<EventLogs>

Required scope: automation:workflows:read

Get all event logs

Parameters​

NameTypeDescription
config.adminAccessbooleanAllow access to all workflows/executions - additionally requires automation:workflows:admin

Default: false
config.id*requiredstringA UUID string identifying this execution.

Returns​

Return typeStatus codeDescription
EventLogs200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { executionsClient } from "@dynatrace-sdk/client-automation";

const data = await executionsClient.getAllEventLogs({
  id: "...",
});

getExecution​

executionsClient.getExecution(config): Promise<Execution>

Required scope: automation:workflows:read

Get execution

Parameters​

NameTypeDescription
config.adminAccessbooleanAllow access to all workflows/executions - additionally requires automation:workflows:admin

Default: false
config.id*requiredstringA UUID string identifying this execution.

Returns​

Return typeStatus codeDescription
Execution200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { executionsClient } from "@dynatrace-sdk/client-automation";

const data = await executionsClient.getExecution({
  id: "...",
});

getExecutionActions​

executionsClient.getExecutionActions(config): Promise<Array<string>>

Required scope: automation:workflows:read

Return list of actions assigned to tasks in a given Execution.

Parameters​

NameTypeDescription
config.adminAccessbooleanAllow access to all workflows/executions - additionally requires automation:workflows:admin

Default: false
config.id*requiredstringA UUID string identifying this execution.

Returns​

Return typeStatus codeDescription
void200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { executionsClient } from "@dynatrace-sdk/client-automation";

const data = await executionsClient.getExecutionActions({
  id: "...",
});

getExecutionLog​

executionsClient.getExecutionLog(config): Promise<string>

Required scope: automation:workflows:read

Gets the execution log

Parameters​

NameTypeDescription
config.adminAccessbooleanAllow access to all workflows/executions - additionally requires automation:workflows:admin

Default: false
config.id*requiredstringA UUID string identifying this execution.

Returns​

Return typeStatus codeDescription
void200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { executionsClient } from "@dynatrace-sdk/client-automation";

const data = await executionsClient.getExecutionLog({
  id: "...",
});

getExecutions​

executionsClient.getExecutions(config): Promise<PaginatedExecutionList>

Required scope: automation:workflows:read

Get list of executions (executions of draft and simple workflows aren't included in the response).

Parameters​

NameTypeDescription
config.adminAccessbooleanAllow access to all workflows/executions - additionally requires automation:workflows:admin

Default: false
config.limitnumberNumber of results per page. Values above 100 are reduced to 100.
config.offsetnumberThe initial index from which to return the results.
config.orderingstringWhich field to use when ordering the results.
config.parentExecutionstring
config.parentWorkflowstring
config.scheduleArray<string>Multiple values may be separated by commas.
config.searchstringA search term.
config.startedAtGtestring
config.startedAtLtestring
config.stateArray<string>Multiple values may be separated by commas.
config.subworkflowOfTaskstringFilter executions by parentExecution/task.
config.triggerstring
config.triggerTypestring
config.userArray<string>Multiple values may be separated by commas.
config.workflowArray<string>Multiple values may be separated by commas.

Returns​

Return typeStatus codeDescription
PaginatedExecutionList200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { executionsClient } from "@dynatrace-sdk/client-automation";

const data = await executionsClient.getExecutions();

getTaskExecution​

executionsClient.getTaskExecution(config): Promise<TaskExecution>

Required scope: automation:workflows:read

Parameters​

NameTypeDescription
config.adminAccessbooleanAllow access to all workflows/executions - additionally requires automation:workflows:admin

Default: false
config.executionId*requiredstring
config.id*requiredstringTask name

Returns​

Return typeStatus codeDescription
TaskExecution200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { executionsClient } from "@dynatrace-sdk/client-automation";

const data = await executionsClient.getTaskExecution({
  executionId: "...",
  id: "...",
});

getTaskExecutionInput​

executionsClient.getTaskExecutionInput(config): Promise<any>

Required scope: automation:workflows:read

Returns merged inputs from all ActionExecutions belonging to the TaskExecution.

Parameters​

NameTypeDescription
config.adminAccessbooleanAllow access to all workflows/executions - additionally requires automation:workflows:admin

Default: false
config.executionId*requiredstring
config.id*requiredstringTask name

Returns​

Return typeStatus codeDescription
void200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { executionsClient } from "@dynatrace-sdk/client-automation";

const data = await executionsClient.getTaskExecutionInput({
  executionId: "...",
  id: "...",
});

getTaskExecutionLog​

executionsClient.getTaskExecutionLog(config): Promise<string>

Required scope: automation:workflows:read

Returns the log output of a specific task. This can be large as its the STDOUT of the Action as defined by the user.

Parameters​

NameTypeDescription
config.adminAccessbooleanAllow access to all workflows/executions - additionally requires automation:workflows:admin

Default: false
config.executionId*requiredstring
config.id*requiredstringTask name

Returns​

Return typeStatus codeDescription
void200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { executionsClient } from "@dynatrace-sdk/client-automation";

const data = await executionsClient.getTaskExecutionLog({
  executionId: "...",
  id: "...",
});

getTaskExecutionResult​

executionsClient.getTaskExecutionResult(config): Promise<any>

Required scope: automation:workflows:read

Returns merged results from all ActionExecutions belonging to the TaskExecution.

Parameters​

NameTypeDescription
config.adminAccessbooleanAllow access to all workflows/executions - additionally requires automation:workflows:admin

Default: false
config.executionId*requiredstring
config.id*requiredstringTask name

Returns​

Return typeStatus codeDescription
void200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { executionsClient } from "@dynatrace-sdk/client-automation";

const data = await executionsClient.getTaskExecutionResult({
  executionId: "...",
  id: "...",
});

getTaskExecutions​

executionsClient.getTaskExecutions(config): Promise<TaskExecutions>

Required scope: automation:workflows:read

Parameters​

NameTypeDescription
config.adminAccessbooleanAllow access to all workflows/executions - additionally requires automation:workflows:admin

Default: false
config.executionId*requiredstring

Returns​

Return typeStatus codeDescription
TaskExecutions200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { executionsClient } from "@dynatrace-sdk/client-automation";

const data = await executionsClient.getTaskExecutions({
  executionId: "...",
});

getTransitions​

executionsClient.getTransitions(config): Promise<TaskTransitions>

Required scope: automation:workflows:read

Parameters​

NameTypeDescription
config.adminAccessbooleanAllow access to all workflows/executions - additionally requires automation:workflows:admin

Default: false
config.executionId*requiredstring

Returns​

Return typeStatus codeDescription
TaskTransitions200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { executionsClient } from "@dynatrace-sdk/client-automation";

const data = await executionsClient.getTransitions({
  executionId: "...",
});

pauseExecution​

executionsClient.pauseExecution(config): Promise<void>

Required scope: automation:workflows:run

Pauses an Execution. Can only be done, if the Execution is in an active state.

Parameters​

NameTypeDescription
config.adminAccessbooleanAllow access to all workflows/executions - additionally requires automation:workflows:admin

Default: false
config.id*requiredstringA UUID string identifying this execution.

Returns​

Return typeStatus codeDescription
void204No response body

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { executionsClient } from "@dynatrace-sdk/client-automation";

const data = await executionsClient.pauseExecution({
  id: "...",
});

resumeExecution​

executionsClient.resumeExecution(config): Promise<void>

Required scope: automation:workflows:run

Resumes an Execution. Can only be done, if the Execution is in an inactive state.

Parameters​

NameTypeDescription
config.adminAccessbooleanAllow access to all workflows/executions - additionally requires automation:workflows:admin

Default: false
config.id*requiredstringA UUID string identifying this execution.

Returns​

Return typeStatus codeDescription
void204No response body

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { executionsClient } from "@dynatrace-sdk/client-automation";

const data = await executionsClient.resumeExecution({
  id: "...",
});

schedulesClient​

import { schedulesClient } from '@dynatrace-sdk/client-automation';

getCountries​

schedulesClient.getCountries(config): Promise<CountryList>

Required scope: automation:workflows:read

Returns the list of countries that can be used to look up the holiday calendar

Returns​

Return typeStatus codeDescription
CountryList200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { schedulesClient } from "@dynatrace-sdk/client-automation";

const data = await schedulesClient.getCountries();

getHolidayCalendar​

schedulesClient.getHolidayCalendar(config): Promise<HolidayCalendarList>

Required scope: automation:workflows:read

Parameters​

NameTypeDescription
config.fromstringFrom date in ISO format
config.key*requiredstringThe country name
config.tostringTo date in ISO format

Returns​

Return typeStatus codeDescription
HolidayCalendarList200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { schedulesClient } from "@dynatrace-sdk/client-automation";

const data = await schedulesClient.getHolidayCalendar({
  key: "...",
});

getTimezones​

schedulesClient.getTimezones(config): Promise<Array<string>>

Required scope: automation:workflows:read

Returns​

Return typeStatus codeDescription
void200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { schedulesClient } from "@dynatrace-sdk/client-automation";

const data = await schedulesClient.getTimezones();

previewSchedule​

⚠️ Deprecated

schedulesClient.previewSchedule(config): Promise<SchedulePreviewResponse>

Required scope: automation:workflows:read

Parameters​

NameType
config.body*requiredSchedulePreviewRequest

Returns​

Return typeStatus codeDescription
SchedulePreviewResponse200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { schedulesClient } from "@dynatrace-sdk/client-automation";

const data = await schedulesClient.previewSchedule({
  body: {
    schedule: {
      trigger: { type: "cron", cron: "0 0 * * *" },
    },
  },
});

schedulingRulesClient​

import { schedulingRulesClient } from '@dynatrace-sdk/client-automation';

createRule​

schedulingRulesClient.createRule(config): Promise<Rule>

Required scope: automation:rules:write

Parameters​

NameType
config.body*requiredRuleCreate

Returns​

Return typeStatus codeDescription
Rule201

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { schedulingRulesClient } from "@dynatrace-sdk/client-automation";

const data = await schedulingRulesClient.createRule({
  body: { title: "...", ruleType: "rrule" },
});

deleteRule​

schedulingRulesClient.deleteRule(config): Promise<void>

Required scope: automation:rules:write

Parameters​

NameTypeDescription
config.id*requiredstringA UUID string identifying this rule.

Returns​

Return typeStatus codeDescription
void204No response body

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { schedulingRulesClient } from "@dynatrace-sdk/client-automation";

const data = await schedulingRulesClient.deleteRule({
  id: "...",
});

duplicateRule​

schedulingRulesClient.duplicateRule(config): Promise<Rule>

Required scope: automation:rules:write

Parameters​

NameTypeDescription
config.body*requiredDuplicationRequest
config.id*requiredstringA UUID string identifying this rule.

Returns​

Return typeStatus codeDescription
Rule201

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { schedulingRulesClient } from "@dynatrace-sdk/client-automation";

const data = await schedulingRulesClient.duplicateRule({
  id: "...",
  body: {},
});

getRule​

schedulingRulesClient.getRule(config): Promise<Rule>

Required scope: automation:rules:read

Parameters​

NameTypeDescription
config.id*requiredstringA UUID string identifying this rule.

Returns​

Return typeStatus codeDescription
Rule200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { schedulingRulesClient } from "@dynatrace-sdk/client-automation";

const data = await schedulingRulesClient.getRule({
  id: "...",
});

getRuleHistoryRecord​

schedulingRulesClient.getRuleHistoryRecord(config): Promise<Rule>

Required scope: automation:rules:read

Parameters​

NameTypeDescription
config.id*requiredstringA UUID string identifying this rule.
config.version*requiredstringPattern: ^[\d]+$

Returns​

Return typeStatus codeDescription
Rule200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { schedulingRulesClient } from "@dynatrace-sdk/client-automation";

const data =
  await schedulingRulesClient.getRuleHistoryRecord({
    id: "...",
    version: "...",
  });

getRuleHistoryRecords​

schedulingRulesClient.getRuleHistoryRecords(config): Promise<PaginatedChangeHistory>

Required scope: automation:rules:read

Parameters​

NameTypeDescription
config.allbooleanWhen false, the latest historical record is not returned.

Default: false
config.id*requiredstringA UUID string identifying this rule.
config.limitnumberNumber of results per page. Values above 100 are reduced to 100.
config.offsetnumberThe initial index from which to return the results.

Returns​

Return typeStatus codeDescription
PaginatedChangeHistory200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { schedulingRulesClient } from "@dynatrace-sdk/client-automation";

const data =
  await schedulingRulesClient.getRuleHistoryRecords({
    id: "...",
  });

getRules​

schedulingRulesClient.getRules(config): Promise<PaginatedRuleList>

Required scope: automation:rules:read

Parameters​

NameTypeDescription
config.limitnumberNumber of results per page. Values above 100 are reduced to 100.
config.offsetnumberThe initial index from which to return the results.
config.orderingstringWhich field to use when ordering the results.
config.searchstringA search term.

Returns​

Return typeStatus codeDescription
PaginatedRuleList200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { schedulingRulesClient } from "@dynatrace-sdk/client-automation";

const data = await schedulingRulesClient.getRules();

patchRule​

schedulingRulesClient.patchRule(config): Promise<Rule>

Required scope: automation:rules:write

Parameters​

NameTypeDescription
config.body*requiredRuleUpdate
config.id*requiredstringA UUID string identifying this rule.

Returns​

Return typeStatus codeDescription
Rule200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { schedulingRulesClient } from "@dynatrace-sdk/client-automation";

const data = await schedulingRulesClient.patchRule({
  id: "...",
  body: {},
});

previewRule​

⚠️ Deprecated

schedulingRulesClient.previewRule(config): Promise<RulePreviewResponse>

Required scope: automation:workflows:read

Parameters​

NameType
config.body*requiredRulePreviewCreate

Returns​

Return typeStatus codeDescription
RulePreviewResponse200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { schedulingRulesClient } from "@dynatrace-sdk/client-automation";

const data = await schedulingRulesClient.previewRule({
  body: {
    ruleType: "rrule",
    rrule: { freq: "YEARLY", datestart: "..." },
  },
});

restoreRuleHistoryRecord​

schedulingRulesClient.restoreRuleHistoryRecord(config): Promise<void>

Required scope: automation:rules:write

Parameters​

NameTypeDescription
config.id*requiredstringA UUID string identifying this rule.
config.version*requiredstringPattern: ^[\d]+$

Returns​

Return typeStatus codeDescription
void200No response body

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { schedulingRulesClient } from "@dynatrace-sdk/client-automation";

const data =
  await schedulingRulesClient.restoreRuleHistoryRecord({
    id: "...",
    version: "...",
  });

updateRule​

schedulingRulesClient.updateRule(config): Promise<Rule>

Required scope: automation:rules:write

Parameters​

NameTypeDescription
config.body*requiredRuleUpdate
config.id*requiredstringA UUID string identifying this rule.

Returns​

Return typeStatus codeDescription
Rule200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { schedulingRulesClient } from "@dynatrace-sdk/client-automation";

const data = await schedulingRulesClient.updateRule({
  id: "...",
  body: {},
});

settingsClient​

import { settingsClient } from '@dynatrace-sdk/client-automation';

getServiceUsers​

⚠️ Deprecated

settingsClient.getServiceUsers(config): Promise<GetServiceUsersResponse>

Required scope: automation:workflows:read

Get service users who could be used as workflow actor (deprecated).

Returns​

Return typeStatus codeDescription
void200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { settingsClient } from "@dynatrace-sdk/client-automation";

const data = await settingsClient.getServiceUsers();

getSettings​

⚠️ Deprecated

settingsClient.getSettings(config): Promise<GetSettingsResponse>

Required scope: automation:workflows:read

Get system settings

Returns​

Return typeStatus codeDescription
GetSettingsResponse200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { settingsClient } from "@dynatrace-sdk/client-automation";

const data = await settingsClient.getSettings();

getUserPermissions​

⚠️ Deprecated

settingsClient.getUserPermissions(config): Promise<Array<string>>

Required scope: automation:workflows:read

Get current user effective permissions.

Returns​

Return typeStatus codeDescription
void200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { settingsClient } from "@dynatrace-sdk/client-automation";

const data = await settingsClient.getUserPermissions();

getUserSettings​

⚠️ Deprecated

settingsClient.getUserSettings(config): Promise<UserSettings>

Required scope: automation:workflows:read

Get user-specific settings

Returns​

Return typeStatus codeDescription
UserSettings200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { settingsClient } from "@dynatrace-sdk/client-automation";

const data = await settingsClient.getUserSettings();

updateAuthorizations​

⚠️ Deprecated

settingsClient.updateAuthorizations(config): Promise<void>

Required scope: automation:workflows:read

Returns​

Return typeStatus codeDescription
void202No response body

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { settingsClient } from "@dynatrace-sdk/client-automation";

const data = await settingsClient.updateAuthorizations();

versionClient​

import { versionClient } from '@dynatrace-sdk/client-automation';

getVersion​

versionClient.getVersion(config): Promise<VersionResponse>

Required scope: automation:workflows:read

Returns​

Return typeStatus codeDescription
VersionResponse200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { versionClient } from "@dynatrace-sdk/client-automation";

const data = await versionClient.getVersion();

webhookHandlersClient​

import { webhookHandlersClient } from '@dynatrace-sdk/client-automation';

deleteWebhookHandler​

webhookHandlersClient.deleteWebhookHandler(config): Promise<void>

Required scope: automation:webhookhandlers:write

Parameters​

NameTypeDescription
config.connectionId*requiredstringThe ID of the connection this webhook handler belongs to

Returns​

Return typeStatus codeDescription
void204No response body

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { webhookHandlersClient } from "@dynatrace-sdk/client-automation";

const data =
  await webhookHandlersClient.deleteWebhookHandler({
    connectionId: "...",
  });

getWebhookHandler​

webhookHandlersClient.getWebhookHandler(config): Promise<WebhookHandler>

Required scope: automation:webhookhandlers:read

Parameters​

NameTypeDescription
config.connectionId*requiredstringThe ID of the connection this webhook handler belongs to

Returns​

Return typeStatus codeDescription
WebhookHandler200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { webhookHandlersClient } from "@dynatrace-sdk/client-automation";

const data = await webhookHandlersClient.getWebhookHandler({
  connectionId: "...",
});

getWebhookHandlers​

webhookHandlersClient.getWebhookHandlers(config): Promise<Array<WebhookHandlerList>>

Required scope: automation:webhookhandlers:read

Returns​

Return typeStatus codeDescription
WebhookHandlerList200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { webhookHandlersClient } from "@dynatrace-sdk/client-automation";

const data =
  await webhookHandlersClient.getWebhookHandlers();

writeWebhookHandler​

webhookHandlersClient.writeWebhookHandler(config): Promise<WebhookHandler>

Required scope: automation:webhookhandlers:write

Parameters​

NameTypeDescription
config.body*requiredWebhookHandlerWrite
config.connectionId*requiredstringThe ID of the connection this webhook handler belongs to

Returns​

Return typeStatus codeDescription
WebhookHandler200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { webhookHandlersClient } from "@dynatrace-sdk/client-automation";

const data =
  await webhookHandlersClient.writeWebhookHandler({
    connectionId: "...",
    body: {
      active: false,
      validationMethod: "slack",
      eventSignatureHeader: "...",
    },
  });

workflowsClient​

import { workflowsClient } from '@dynatrace-sdk/client-automation';

createWorkflow​

workflowsClient.createWorkflow(config): Promise<Workflow>

Required scope: automation:workflows:write

Creates a workflow and sets usages

Parameters​

NameTypeDescription
config.adminAccessbooleanAllow access to all workflows/executions - additionally requires automation:workflows:admin

Default: false
config.body*requiredWorkflowCreate

Returns​

Return typeStatus codeDescription
Workflow201

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { workflowsClient } from "@dynatrace-sdk/client-automation";

const data = await workflowsClient.createWorkflow({
  body: { title: "..." },
});

deleteTrashedWorkflow​

workflowsClient.deleteTrashedWorkflow(config): Promise<void>

Required scope: automation:workflows:write

Permanently delete a workflow that is in the trash. Returns 404 if the workflow does not exist or is not in the trash.

Parameters​

NameTypeDescription
config.adminAccessbooleanAllow access to all workflows/executions - additionally requires automation:workflows:admin

Default: false
config.id*requiredstringA UUID string identifying this workflow.

Returns​

Return typeStatus codeDescription
void204No response body

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { workflowsClient } from "@dynatrace-sdk/client-automation";

const data = await workflowsClient.deleteTrashedWorkflow({
  id: "...",
});

deleteWorkflow​

workflowsClient.deleteWorkflow(config): Promise<void>

Required scope: automation:workflows:write

Move the workflow to trash (trash=true) or permanently delete it (trash=false or omitted). Trashed workflows can be permanently deleted via /trash/workflows/{id}.

Parameters​

NameTypeDescription
config.adminAccessbooleanAllow access to all workflows/executions - additionally requires automation:workflows:admin

Default: false
config.id*requiredstringA UUID string identifying this workflow.
config.trashbooleanWhen true, moves the workflow to trash instead of permanently deleting it. Trashed workflows are hidden from all list and detail endpoints.

Default: false

Returns​

Return typeStatus codeDescription
void204No response body

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { workflowsClient } from "@dynatrace-sdk/client-automation";

const data = await workflowsClient.deleteWorkflow({
  id: "...",
});

duplicateWorkflow​

workflowsClient.duplicateWorkflow(config): Promise<Workflow>

Required scope: automation:workflows:write

Parameters​

NameTypeDescription
config.adminAccessbooleanAllow access to all workflows/executions - additionally requires automation:workflows:admin

Default: false
config.body*requiredDuplicationRequest
config.id*requiredstringA UUID string identifying this workflow.

Returns​

Return typeStatus codeDescription
Workflow201

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { workflowsClient } from "@dynatrace-sdk/client-automation";

const data = await workflowsClient.duplicateWorkflow({
  id: "...",
  body: {},
});

exportWorkflow​

workflowsClient.exportWorkflow(config): Promise<WorkflowExport>

Required scope: automation:workflows:read

Parameters​

NameTypeDescription
config.adminAccessbooleanAllow access to all workflows/executions - additionally requires automation:workflows:admin

Default: false
config.id*requiredstringA UUID string identifying this workflow.

Returns​

Return typeStatus codeDescription
WorkflowExport200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { workflowsClient } from "@dynatrace-sdk/client-automation";

const data = await workflowsClient.exportWorkflow({
  id: "...",
});

exportWorkflowHistoryRecord​

workflowsClient.exportWorkflowHistoryRecord(config): Promise<Workflow>

Required scope: automation:workflows:read

Parameters​

NameTypeDescription
config.adminAccessbooleanAllow access to all workflows/executions - additionally requires automation:workflows:admin

Default: false
config.id*requiredstringA UUID string identifying this workflow.
config.version*requiredstringPattern: ^[\d]+$

Returns​

Return typeStatus codeDescription
Workflow200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { workflowsClient } from "@dynatrace-sdk/client-automation";

const data =
  await workflowsClient.exportWorkflowHistoryRecord({
    id: "...",
    version: "...",
  });

exportWorkflowHistoryRecordTemplate​

workflowsClient.exportWorkflowHistoryRecordTemplate(config): Promise<WorkflowTemplate>

Required scope: automation:workflows:read

Parameters​

NameTypeDescription
config.adminAccessbooleanAllow access to all workflows/executions - additionally requires automation:workflows:admin

Default: false
config.id*requiredstringA UUID string identifying this workflow.
config.version*requiredstringPattern: ^[\d]+$

Returns​

Return typeStatus codeDescription
WorkflowTemplate200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { workflowsClient } from "@dynatrace-sdk/client-automation";

const data =
  await workflowsClient.exportWorkflowHistoryRecordTemplate(
    { id: "...", version: "..." },
  );

exportWorkflowTemplate​

workflowsClient.exportWorkflowTemplate(config): Promise<WorkflowTemplate>

Required scope: automation:workflows:read

Parameters​

NameTypeDescription
config.adminAccessbooleanAllow access to all workflows/executions - additionally requires automation:workflows:admin

Default: false
config.id*requiredstringA UUID string identifying this workflow.

Returns​

Return typeStatus codeDescription
WorkflowTemplate200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { workflowsClient } from "@dynatrace-sdk/client-automation";

const data = await workflowsClient.exportWorkflowTemplate({
  id: "...",
});

getTrashedWorkflow​

workflowsClient.getTrashedWorkflow(config): Promise<TrashedWorkflow>

Required scope: automation:workflows:read

Get a single workflow that is in the trash. Returns 404 if the workflow does not exist or is not in the trash.

Parameters​

NameTypeDescription
config.adminAccessbooleanAllow access to all workflows/executions - additionally requires automation:workflows:admin

Default: false
config.id*requiredstringA UUID string identifying this workflow.

Returns​

Return typeStatus codeDescription
TrashedWorkflow200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { workflowsClient } from "@dynatrace-sdk/client-automation";

const data = await workflowsClient.getTrashedWorkflow({
  id: "...",
});

getTrashedWorkflows​

workflowsClient.getTrashedWorkflows(config): Promise<PaginatedTrashedWorkflowList>

Required scope: automation:workflows:read

List workflows that have been moved to trash based on the current user access (or all users with adminAccess).

Parameters​

NameTypeDescription
config.adminAccessbooleanAllow access to all workflows/executions - additionally requires automation:workflows:admin

Default: false
config.limitnumberNumber of results per page. Values above 100 are reduced to 100.
config.offsetnumberThe initial index from which to return the results.
config.orderingstringWhich field to use when ordering the results.

Returns​

Return typeStatus codeDescription
PaginatedTrashedWorkflowList200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { workflowsClient } from "@dynatrace-sdk/client-automation";

const data = await workflowsClient.getTrashedWorkflows();

getWorkflow​

workflowsClient.getWorkflow(config): Promise<Workflow>

Required scope: automation:workflows:read

Parameters​

NameTypeDescription
config.adminAccessbooleanAllow access to all workflows/executions - additionally requires automation:workflows:admin

Default: false
config.id*requiredstringA UUID string identifying this workflow.

Returns​

Return typeStatus codeDescription
Workflow200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { workflowsClient } from "@dynatrace-sdk/client-automation";

const data = await workflowsClient.getWorkflow({
  id: "...",
});

getWorkflowActions​

workflowsClient.getWorkflowActions(config): Promise<Array<string>>

Required scope: automation:workflows:read

Return list of actions assigned to tasks in a given Workflow.

Parameters​

NameTypeDescription
config.adminAccessbooleanAllow access to all workflows/executions - additionally requires automation:workflows:admin

Default: false
config.id*requiredstringA UUID string identifying this workflow.

Returns​

Return typeStatus codeDescription
void200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { workflowsClient } from "@dynatrace-sdk/client-automation";

const data = await workflowsClient.getWorkflowActions({
  id: "...",
});

getWorkflowHistoryRecord​

workflowsClient.getWorkflowHistoryRecord(config): Promise<Workflow>

Required scope: automation:workflows:read

Parameters​

NameTypeDescription
config.adminAccessbooleanAllow access to all workflows/executions - additionally requires automation:workflows:admin

Default: false
config.id*requiredstringA UUID string identifying this workflow.
config.version*requiredstringPattern: ^[\d]+$

Returns​

Return typeStatus codeDescription
Workflow200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { workflowsClient } from "@dynatrace-sdk/client-automation";

const data = await workflowsClient.getWorkflowHistoryRecord(
  { id: "...", version: "..." },
);

getWorkflowHistoryRecords​

workflowsClient.getWorkflowHistoryRecords(config): Promise<PaginatedChangeHistory>

Required scope: automation:workflows:read

Parameters​

NameTypeDescription
config.adminAccessbooleanAllow access to all workflows/executions - additionally requires automation:workflows:admin

Default: false
config.allbooleanWhen false, the latest historical record is not returned.

Default: false
config.id*requiredstringA UUID string identifying this workflow.
config.limitnumberNumber of results per page. Values above 100 are reduced to 100.
config.offsetnumberThe initial index from which to return the results.

Returns​

Return typeStatus codeDescription
PaginatedChangeHistory200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { workflowsClient } from "@dynatrace-sdk/client-automation";

const data =
  await workflowsClient.getWorkflowHistoryRecords({
    id: "...",
  });

getWorkflowTask​

workflowsClient.getWorkflowTask(config): Promise<Task>

Required scope: automation:workflows:read

Parameters​

NameTypeDescription
config.adminAccessbooleanAllow access to all workflows/executions - additionally requires automation:workflows:admin

Default: false
config.id*requiredstring
config.workflowId*requiredstring

Returns​

Return typeStatus codeDescription
Task200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { workflowsClient } from "@dynatrace-sdk/client-automation";

const data = await workflowsClient.getWorkflowTask({
  id: "...",
  workflowId: "...",
});

getWorkflowTasks​

workflowsClient.getWorkflowTasks(config): Promise<Tasks>

Required scope: automation:workflows:read

Parameters​

NameTypeDescription
config.adminAccessbooleanAllow access to all workflows/executions - additionally requires automation:workflows:admin

Default: false
config.id*requiredstringA UUID string identifying this workflow.

Returns​

Return typeStatus codeDescription
Tasks200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { workflowsClient } from "@dynatrace-sdk/client-automation";

const data = await workflowsClient.getWorkflowTasks({
  id: "...",
});

getWorkflows​

workflowsClient.getWorkflows(config): Promise<PaginatedWorkflowList>

Required scope: automation:workflows:read

Parameters​

NameTypeDescription
config.adminAccessbooleanAllow access to all workflows/executions - additionally requires automation:workflows:admin

Default: false
config.alertGroupsArray<string>Alert group names. Returns workflows whose event trigger references at least one of them. Repeat the parameter for multiple values.
config.idstring
config.isDeployedboolean
config.lastExecutionStateInArray<string>Multiple values may be separated by commas.
config.limitnumberNumber of results per page. Values above 100 are reduced to 100.
config.modificationInfoLastModifiedByArray<string>Multiple values may be separated by commas.
config.offsetnumberThe initial index from which to return the results.
config.orderingstringWhich field to use when ordering the results.
config.ownerstring
config.ownerType"GROUP" | "USER"
config.searchstringA search term.
config.throttleIsLimitHitbooleanDeprecated. Filters workflows whose event trigger was deactivated because its limit was hit.
config.triggerScheduleIsFaultyboolean
config.triggerTypeArray<string>Match workflows with at least one of these trigger types. Multiple values may be separated by commas. Accepts Schedule, Event and Manual (case-insensitive) and the detailed types CUSTOM, DAVIS_PROBLEM, DAVIS_EVENT, FIXED_INTERVAL, TIME_OF_DAY, CRON and MANUAL. Unknown values are ignored.
config.typestring
config.unacknowledgedSkippedScheduleAtGtestring
config.unacknowledgedSkippedScheduleAtLtestring

Returns​

Return typeStatus codeDescription
PaginatedWorkflowList200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { workflowsClient } from "@dynatrace-sdk/client-automation";

const data = await workflowsClient.getWorkflows();

patchWorkflow​

workflowsClient.patchWorkflow(config): Promise<Workflow>

Required scope: automation:workflows:write

Parameters​

NameTypeDescription
config.adminAccessbooleanAllow access to all workflows/executions - additionally requires automation:workflows:admin

Default: false
config.body*requiredWorkflowUpdate
config.id*requiredstringA UUID string identifying this workflow.

Returns​

Return typeStatus codeDescription
Workflow200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { workflowsClient } from "@dynatrace-sdk/client-automation";

const data = await workflowsClient.patchWorkflow({
  id: "...",
  body: {},
});

resetWorkflowThrottles​

workflowsClient.resetWorkflowThrottles(config): Promise<WorkflowThrottlesResetStatus>

Required scope: automation:workflows:write

Parameters​

NameTypeDescription
config.adminAccessbooleanAllow access to all workflows/executions - additionally requires automation:workflows:admin

Default: false
config.id*requiredstringA UUID string identifying this workflow.

Returns​

Return typeStatus codeDescription
WorkflowThrottlesResetStatus200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { workflowsClient } from "@dynatrace-sdk/client-automation";

const data = await workflowsClient.resetWorkflowThrottles({
  id: "...",
});

restoreTrashedWorkflow​

workflowsClient.restoreTrashedWorkflow(config): Promise<Workflow>

Required scope: automation:workflows:write

Restore a trashed workflow back to the active workflow list. When isDeployed is true (default), the workflow's triggers are reactivated. When false, the workflow is restored as draft-only with no active triggers.

Parameters​

NameTypeDescription
config.adminAccessbooleanAllow access to all workflows/executions - additionally requires automation:workflows:admin

Default: false
config.body*requiredRestoreTrashedWorkflow
config.id*requiredstringA UUID string identifying this workflow.

Returns​

Return typeStatus codeDescription
Workflow200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { workflowsClient } from "@dynatrace-sdk/client-automation";

const data = await workflowsClient.restoreTrashedWorkflow({
  id: "...",
  body: {},
});

restoreWorkflowHistoryRecord​

workflowsClient.restoreWorkflowHistoryRecord(config): Promise<void>

Required scope: automation:workflows:write

Restores the workflow to the specified history version which is deployed afterward.

Parameters​

NameTypeDescription
config.adminAccessbooleanAllow access to all workflows/executions - additionally requires automation:workflows:admin

Default: false
config.id*requiredstringA UUID string identifying this workflow.
config.version*requiredstringPattern: ^[\d]+$

Returns​

Return typeStatus codeDescription
void200No response body

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { workflowsClient } from "@dynatrace-sdk/client-automation";

const data =
  await workflowsClient.restoreWorkflowHistoryRecord({
    id: "...",
    version: "...",
  });

runWorkflow​

workflowsClient.runWorkflow(config): Promise<Execution>

Required scope: automation:workflows:run

Creates an Execution for the Workflow.

Parameters​

NameTypeDescription
config.adminAccessbooleanAllow access to all workflows/executions - additionally requires automation:workflows:admin

Default: false
config.body*requiredExecutionInputsRequest
config.id*requiredstringA UUID string identifying this workflow.
config.monitorbooleanSpecifies whether the execution data of the SIMPLE workflow type is available for monitoring until the execution is complete.

Default: false

Returns​

Return typeStatus codeDescription
Execution201Execution successfully created
Execution202No execution created - execution with uniqueQualifier provided already exists

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { workflowsClient } from "@dynatrace-sdk/client-automation";

const data = await workflowsClient.runWorkflow({
  id: "...",
  body: { input: {}, params: {} },
});

updateWorkflow​

workflowsClient.updateWorkflow(config): Promise<Workflow>

Required scope: automation:workflows:write

Parameters​

NameTypeDescription
config.adminAccessbooleanAllow access to all workflows/executions - additionally requires automation:workflows:admin

Default: false
config.body*requiredWorkflowUpdate
config.id*requiredstringA UUID string identifying this workflow.

Returns​

Return typeStatus codeDescription
Workflow200

Throws​

Error TypeError Message
ErrorEnvelopeError

Code example

import { workflowsClient } from "@dynatrace-sdk/client-automation";

const data = await workflowsClient.updateWorkflow({
  id: "...",
  body: {},
});

Types​

ActionExecution​

NameTypeDescription
action*requiredstring
actionExecutionIdnull | string
attemptnumberMinimum: -2147483648
endedAtnull | Date
id*requiredstring
inputActionExecutionInput
loopItemActionExecutionLoopItem
resultany
runtimenull | numberMinimum: -2147483648
startedAtnull | Date
state"ERROR" | "IDLE" | "RUNNING" | "SUSPENDED" | "SUCCESS" | "UNKNOWN"
stateInfonull | string
taskExe*requiredstringParent task execution

ActionExecutionInput​

type: Record<string, any>

ActionExecutionLoopItem​

type: Record<string, any>

BasedOnTemplate​

NameTypeDescription
originAppIdnull | stringID of the app that provides the template.
titlenull | stringTitle of the template.
trackingId*requiredstringTracking ID of the workflow template.
versionnull | stringVersion of the template.

BusinessCalendarCreate​

NameTypeDescription
descriptionstring
holidaysHolidays
idstring
title*requiredstring
validFromstring
validTostring
weekdaysWeekdays
weekstartnumberMinimum: 1

BusinessCalendarResponse​

NameTypeDescription
descriptionstring
holidaysHolidays
id*requiredstring
modificationInfo*requiredModificationInfo
title*requiredstring
validFrom*requiredstring
validTo*requiredstring
version*requirednumber
weekdays*requiredWeekdaysValuesThe weekdays values
weekdaysNames*requiredWeekdaysNamesThe weekdays names
weekstart*requirednumberMinimum: 1

BusinessCalendarUpdate​

NameTypeDescription
descriptionstring
holidaysHolidays
titlestring
validFromstring
validTostring
weekdaysWeekdays
weekstartnumberMinimum: 1

ChangeHistory​

NameTypeDescription
dateCreated*requiredDate
id*requirednumber
user*requiredstring
version*requirednumberMinimum: 1

Country​

NameType
id*requiredstring
title*requiredstring

CountryList​

NameType
count*requirednumber
results*requiredArray<Country>

CronTrigger​

Runs the workflow on a cron schedule, evaluated in the schedule's timezone.

Use it for recurring patterns that time and interval can't express, e.g. weekdays only or the first day of each month. The schedule's rule and the date fields of filterParameters don't apply to cron triggers.

NameTypeDescription
cron*requiredstringCron expression with exactly 5 fields: minute (0-59), hour (0-23), day of month (1-31), month (1-12 or JAN-DEC) and day of week (0-7 or SUN-SAT, 0 and 7 are Sunday). A seconds field isn't supported, so the shortest cadence is one minute. Supports *, ,, - and / (e.g. * /15).

Example: 0 0 * * *
type*required"cron"

DavisEventConfig​

NameTypeDescription
alertGroupsArray<string>Alert group names. Triggers only for events in at least one of them. Empty means no filter. Names must not contain " or *, and must not end with ``.
customFilternull | stringAdditional DQL matcher expression to further filter events to match.

Default:
entityTagsnull | EntityTags
entityTagsMatchnull | "all" | "any"
maintenanceWindowTriggerBehavior"always" | "inside" | "outside"Default: always
namesnull | Array<DavisEventName>
onProblemCloseDEPRECATEDbooleanTrigger on Davis event open only or also on close. Deprecated — use triggerOn instead.

Default: false
triggerOnnull | "open" | "open-and-close" | "close"Event state to trigger on. "open" (active only), "open-and-close" (both phases), or "close" (closure only). When unset, falls back to onProblemClose for backward compatibility.
typesDEPRECATEDnull | Array<string>

DavisEventName​

NameTypeDescription
match*required"equals" | "contains"Davis event name must equal or contain the string provided.
name*requiredstring

DavisEventTriggerConfig​

Config for Davis Event event triggers ("Davis event trigger").

Deduplicated across an event's lifecycle: fires once per phase selected by the trigger config (triggerOn), not on every update.

NameType
type*required"davis-event"
value*requiredDavisEventConfig

DavisProblemCategories​

NameTypeDefault
availabilitybooleanfalse
custombooleanfalse
errorbooleanfalse
infobooleanfalse
monitoringUnavailablebooleanfalse
resourcebooleanfalse
slowdownbooleanfalse

DavisProblemConfig​

NameTypeDescription
alertGroupsArray<string>Alert group names. Triggers only for problems in at least one of them. Empty means no filter. Names must not contain " or *, and must not end with ``.
analysisReadybooleanRun only after first root cause analysis run completed.

Default: false
categories*requiredDavisProblemCategories
customFilternull | stringAdditional DQL matcher expression to further filter events to match.

Default:
entityTagsnull | EntityTags
entityTagsMatchnull | "all" | "any"
includeProblemsWithoutSeveritybooleanWhen severityThreshold is set, also trigger for problems that have no severity. No effect without a threshold.

Default: false
maintenanceWindowTriggerBehavior"always" | "inside" | "outside"Default: always
onProblemCloseDEPRECATEDbooleanTrigger on Davis problem open only or also on close. Deprecated — use triggerOn instead.

Default: false
problemOpenDurationnull | 5 | 10 | 15 | 30 | 60 | 120 | 240 | 1440 | 10080Minimum problem duration in minutes before the trigger fires.
severityThresholdnull | numberTriggers only for problems whose severity is this value or more severe. Lower numbers are more severe (1 = critical, 5 = informational), so 3 matches severities 1, 2, and 3.

Minimum: 1
triggerOnnull | "open" | "open-and-close" | "close"Problem state to trigger on. "open" (active only), "open-and-close" (both phases), or "close" (closure only). When unset, falls back to onProblemClose for backward compatibility.
triggerOnUpdateFieldsArray<"dt.davis.affected_users_count" | "dt.davis.impact_level" | "event.category" | "event.severity" | "root_cause_entity_id" | "smartscape.affected_entities">Problem event fields tracked for value changes. Changes to any selected field cause re-triggering.

DavisProblemTriggerConfig​

Config for Problem event triggers ("Problem trigger").

Deduplicated across a problem's lifecycle: fires once per phase selected by the trigger config (triggerOn, triggerOnUpdateFields), not on every update.

NameType
type*required"davis-problem"
value*requiredDavisProblemConfig

DuplicationRequest​

NameType
titlestring

EntityTags​

Entity tags to match by key and (optional) values. For example {"foo": [], "bar": ["a", "b", "c"]}

type: Record<string, string | string[]>

EnvironmentObject​

NameTypeDefault
id*requiredstring
isWorkflowProcessingPausedbooleanfalse
limits*requiredExecutionLimits
pausedWorkflowsArray<PausedWorkflow>
workflowsCount*requirednumber
workflowsLimitnumber

Error​

NameType
code*requirednumber
detailsErrorDetails
message*requiredstring

ErrorDetails​

NameType
errorCodestring
errorRefstring

ErrorEnvelope​

NameType
error*requiredError

EventLog​

NameType
causenull | string
contextnull | EventLogContext
event*requiredstring
source*requiredSource
state*required"ERROR" | "IDLE" | "RUNNING" | "SUCCESS" | "DEACTIVATED" | "WAITING" | "PAUSED" | "CANCELLED" | "SKIPPED" | "DISCARDED"
timestamp*requiredDate

EventLogContext​

type: Record<string, any>

EventLogs​

type: Array<EventLog>

EventQuery​

NameTypeDescription
eventType"events" | "bizevents" | "dt.system.events" | "security.events"Grail event type.
query*requiredstringDQL matcher expression defining which events to match.

EventQueryTriggerConfig​

Config for generic event triggers ("Event trigger"). No dedup — fires on every matching event.

NameType
type*required"event"
value*requiredEventQuery

EventTrigger​

NameType
filterQuery*requiredstring
isActiveboolean
triggerConfigurationEventTriggerConfig
uniqueExpressionDEPRECATED*requirednull | string

EventTriggerExport​

NameType
isActiveboolean
triggerConfigurationEventTriggerConfig

EventTriggerPreviewRequest​

NameType
triggerConfiguration*requiredEventTriggerConfig

EventTriggerPreviewResponse​

NameType
filterQuery*requiredstring
triggerConfiguration*requiredEventTriggerConfig

EventTriggerRequest​

NameType
isActiveboolean
triggerConfigurationEventTriggerConfig

Execution​

NameTypeDescription
actor*requiredstring
endedAtnull | Date
eventTriggernull | string
id*requiredstring
inputExecutionInput
isDraftboolean
paramsExecutionParams
parentExecution*requirednull | string
parentTaskName*requirednull | stringParent task execution's name (subworkflows only)
providedInputnull | ExecutionProvidedInput
resultany
rootExecutionnull | string
rootWorkflownull | string
runtime*requirednumber

Calculate the runtime of an execution in seconds. If the execution is not ended, runtime is calculated until now.

schedulenull | string
startedAtDate
state*required"ERROR" | "RUNNING" | "SUCCESS" | "UNKNOWN" | "PAUSED" | "CANCELLED"
stateInfonull | string
title*requiredstring
triggernull | string
triggerType*required"Manual" | "Schedule" | "Event" | "Workflow"
triggerTypeDetailTriggerTypeDetail
usernull | string
workflow*requiredstringExecuted Workflow
workflowType*required"STANDARD" | "SIMPLE"
workflowVersion*requirednull | numberMinimum: 0

ExecutionInput​

type: Record<string, any>

ExecutionInputsRequest​

Inputs for workflow executions

NameTypeDescription
inputExecutionInputsRequestInputInputs (key/value pairs)

Default: {}
paramsExecutionInputsRequestParamsMetadata (can be nested object)

Default: {}
uniqueQualifiernull | stringA qualifier that must not have been used before to trigger the execution

ExecutionInputsRequestInput​

Inputs (key/value pairs)

type: Record<string, any>

ExecutionInputsRequestParams​

Metadata (can be nested object)

type: Record<string, any>

ExecutionLimits​

NameType
hourlyEventTriggerSimple*requirednumber
hourlyEventTriggerStandard*requirednumber
hourlyExecutionDefaultSimple*requirednumber
hourlyExecutionDefaultStandard*requirednumber
hourlyExecutionUpperBoundSimple*requirednumber
hourlyExecutionUpperBoundStandard*requirednumber

ExecutionParams​

type: Record<string, any>

ExecutionProvidedInput​

type: Record<string, any>

FixedOffsetRule​

NameTypeDescription
offset*requirednumberOffset days
rule*requiredstring

FixedOffsetRulePreviewRequest​

NameTypeDescription
businessCalendarnull | string
countnumberDefault: 10
Minimum: 0
dateFromnull | stringStart date for the preview range (yyyy-mm-dd). Defaults to UTC today.
dateTonull | stringEnd date for the preview range (yyyy-mm-dd). If provided, returns all executions in the range and count is ignored. Must not exceed 182 days from date_from.
fixedOffsetRule*requiredFixedOffsetRule
idnull | string
ruleType*required"fixed_offset"

GetServiceUsersResponse​

type: Record<string, any>

GetSettingsResponse​

NameType
environment*requiredEnvironmentObject
features*requiredArray<string>
groupId*requiredstring
policyId*requiredstring
scopes*requiredGetSettingsResponseScopes

GetSettingsResponseScopes​

type: Record<string, string>

GroupingRule​

NameType
combinenull | Array<string>
intersectnull | Array<string>
subtractnull | Array<string>

GroupingRulePreviewRequest​

NameTypeDescription
businessCalendarnull | string
countnumberDefault: 10
Minimum: 0
dateFromnull | stringStart date for the preview range (yyyy-mm-dd). Defaults to UTC today.
dateTonull | stringEnd date for the preview range (yyyy-mm-dd). If provided, returns all executions in the range and count is ignored. Must not exceed 182 days from date_from.
groupingRule*requiredGroupingRule
idnull | string
ruleType*required"grouping"

Holiday​

NameType
date*requiredstring
title*requiredstring

HolidayCalendarList​

NameType
count*requirednumber
results*requiredArray<Holiday>

Holidays​

type: Array<Holiday>

IntervalTrigger​

Runs the workflow every intervalMinutes, optionally only within a daily time window.

Unless filterParameters.earliestStart is set, the first run is one interval after the schedule is saved, not immediately. A run that would fall outside the time window moves to the next betweenStart, and runs repeat every intervalMinutes from there. Combine it with the schedule's rule or filterParameters to restrict the days it runs on. Cadences longer than 12 hours aren't supported. time or cron triggers cover calendar-based ones, e.g. daily or weekly, but not e.g. every 18 hours.

NameTypeDescription
betweenEndnull | stringEnd of the daily time window in 24-hour HH:MM format, in the schedule's timezone, inclusive. Without betweenStart, the window starts at 00:00. If it's earlier than betweenStart, the window spans midnight, e.g. 22:00 to 02:00.
Pattern: ^([0-1]\d|2[0-3]):[0-5]\d$
betweenStartnull | stringStart of the daily time window in 24-hour HH:MM format, in the schedule's timezone. Without betweenEnd, the window lasts until the end of the day.
Pattern: ^([0-1]\d|2[0-3]):[0-5]\d$
intervalMinutes*requirednumberMinutes between runs, from 1 to 720 (12 hours).

Minimum: 1
type*required"interval"

ModificationInfo​

NameType
createdBy*requirednull | string
createdTime*requiredDate
lastModifiedBy*requirednull | string
lastModifiedTime*requiredDate

OnceTrigger​

Runs the workflow exactly once, at at in the schedule's timezone.

The time must be in the future. The schedule's rule and the date fields of filterParameters don't apply to once triggers.

NameTypeDescription
at*requiredstringLocal date and time in ISO 8601 format YYYY-MM-DDTHH:MM:SS, without a UTC offset or Z. It's interpreted in the schedule's timezone.

Example: 2099-12-25T14:30:00
Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}$
type*required"once"

PaginatedBusinessCalendarResponseList​

NameTypeDescription
count*requirednumberExample: 123
results*requiredArray<BusinessCalendarResponse>

PaginatedChangeHistory​

NameTypeDescription
count*requirednumberExample: 123
results*requiredArray<ChangeHistory>

PaginatedExecutionList​

NameTypeDescription
count*requirednumberExample: 123
results*requiredArray<Execution>

PaginatedRuleList​

NameTypeDescription
count*requirednumberExample: 123
results*requiredArray<Rule>

PaginatedTrashedWorkflowList​

NameTypeDescription
count*requirednumberExample: 123
results*requiredArray<TrashedWorkflow>

PaginatedWorkflowList​

NameTypeDescription
count*requirednumberExample: 123
results*requiredArray<WorkflowList>

PausedWorkflow​

NameType
id*requiredstring
reason*requiredstring

RRule​

NameTypeDescription
bydaynull | Array<"MO" | "TU" | "WE" | "TH" | "FR" | "SA" | "SU">Define the weekdays where the recurrence will be applied.
bymonthnull | Array<number>The months to apply the recurrence to.
bymonthdaynull | Array<number>The month days to apply the recurrence to.
bysetposnull | Array<number>Each given integer will specify an occurrence number, corresponding to the nth occurrence of the rule inside the frequency period
byweeknonull | Array<number>The week numbers to apply the recurrence to.
byworkdaynull | "WORKING" | "HOLIDAYS" | "OFF"The type of days on which the recurrence will be applied.
byyeardaynull | Array<number>The year days to apply the recurrence to.
datestart*requiredstringThe recurrence start.
freq*required"YEARLY" | "MONTHLY" | "WEEKLY" | "DAILY" | "HOURLY" | "MINUTELY" | "SECONDLY"
intervalnumberThe interval between each freq iteration.

Default: 1
Minimum: 0
untilnull | DateSpecifying the upper-bound limit of the recurrence.
wkstnull | "MO" | "TU" | "WE" | "TH" | "FR" | "SA" | "SU"The week start day.

RRulePreviewRequest​

NameTypeDescription
businessCalendarnull | string
countnumberDefault: 10
Minimum: 0
dateFromnull | stringStart date for the preview range (yyyy-mm-dd). Defaults to UTC today.
dateTonull | stringEnd date for the preview range (yyyy-mm-dd). If provided, returns all executions in the range and count is ignored. Must not exceed 182 days from date_from.
idnull | string
rrule*requiredRRule
ruleType*required"rrule"

RelativeOffsetRule​

NameType
direction*required"next" | "previous"
sourceRule*requiredstring
targetRule*requiredstring

RelativeOffsetRulePreviewRequest​

NameTypeDescription
businessCalendarnull | string
countnumberDefault: 10
Minimum: 0
dateFromnull | stringStart date for the preview range (yyyy-mm-dd). Defaults to UTC today.
dateTonull | stringEnd date for the preview range (yyyy-mm-dd). If provided, returns all executions in the range and count is ignored. Must not exceed 182 days from date_from.
idnull | string
relativeOffsetRule*requiredRelativeOffsetRule
ruleType*required"relative_offset"

RestoreTrashedWorkflow​

NameTypeDescription
isDeployedbooleanWhen true (default), the workflow's triggers are reactivated on restore. When false, the workflow is restored as draft-only with no active triggers.

Default: true

Rule​

NameType
businessCalendarnull | string
descriptionstring
fixedOffsetRulenull | FixedOffsetRule
groupingRulenull | GroupingRule
id*requiredstring
modificationInfo*requiredModificationInfo
relativeOffsetRulenull | RelativeOffsetRule
rrulenull | RRule
ruleType*required"fixed_offset" | "grouping" | "rrule" | "relative_offset"
title*requiredstring
version*requirednumber

RuleCreate​

NameType
businessCalendarnull | string
descriptionstring
fixedOffsetRulenull | FixedOffsetRule
groupingRulenull | GroupingRule
idstring
relativeOffsetRulenull | RelativeOffsetRule
rrulenull | RRule
ruleType*required"fixed_offset" | "grouping" | "rrule" | "relative_offset"
title*requiredstring

RulePreviewResponse​

NameTypeDescription
errornull | stringWhy the schedule definition is invalid.
nextExecutionsnull | Array<Date>Upcoming runs in UTC, at most filterParameters.count.
valid*requiredbooleanWhether the schedule definition is valid.

RuleUpdate​

NameType
businessCalendarnull | string
descriptionstring
fixedOffsetRulenull | FixedOffsetRule
groupingRulenull | GroupingRule
relativeOffsetRulenull | RelativeOffsetRule
rrulenull | RRule
ruleType"fixed_offset" | "grouping" | "rrule" | "relative_offset"
titlestring

Schedule​

NameTypeDescription
filterParametersnull | ScheduleFilterParametersOptional date restrictions for time and interval triggers. Ignored for cron and once triggers.
inputsScheduleInputsWorkflow inputs passed to every scheduled run.
isActivebooleanWhether the schedule runs the workflow. Defaults to true. An inactive schedule keeps its definition but doesn't run.
isFaulty*requiredbooleanWhether the system failed to calculate the next run and stopped scheduling the workflow.
nextExecutionnull | DateNext planned run, or null if none is planned.
rulenull | stringID of a scheduling rule, e.g. a business calendar rule, that selects the days on which a time or interval trigger may run. Ignored for cron and once triggers.
timezone"Africa/Abidjan" | "Africa/Accra" | "Africa/Addis_Ababa" | "Africa/Algiers" | "Africa/Asmara" | "Africa/Asmera" | "Africa/Bamako" | "Africa/Bangui" | "Africa/Banjul" | "Africa/Bissau" | "Africa/Blantyre" | "Africa/Brazzaville" | "Africa/Bujumbura" | "Africa/Cairo" | "Africa/Casablanca" | "Africa/Ceuta" | "Africa/Conakry" | "Africa/Dakar" | "Africa/Dar_es_Salaam" | "Africa/Djibouti" | "Africa/Douala" | "Africa/El_Aaiun" | "Africa/Freetown" | "Africa/Gaborone" | "Africa/Harare" | "Africa/Johannesburg" | "Africa/Juba" | "Africa/Kampala" | "Africa/Khartoum" | "Africa/Kigali" | "Africa/Kinshasa" | "Africa/Lagos" | "Africa/Libreville" | "Africa/Lome" | "Africa/Luanda" | "Africa/Lubumbashi" | "Africa/Lusaka" | "Africa/Malabo" | "Africa/Maputo" | "Africa/Maseru" | "Africa/Mbabane" | "Africa/Mogadishu" | "Africa/Monrovia" | "Africa/Nairobi" | "Africa/Ndjamena" | "Africa/Niamey" | "Africa/Nouakchott" | "Africa/Ouagadougou" | "Africa/Porto-Novo" | "Africa/Sao_Tome" | "Africa/Timbuktu" | "Africa/Tripoli" | "Africa/Tunis" | "Africa/Windhoek" | "America/Adak" | "America/Anchorage" | "America/Anguilla" | "America/Antigua" | "America/Araguaina" | "America/Argentina/Buenos_Aires" | "America/Argentina/Catamarca" | "America/Argentina/ComodRivadavia" | "America/Argentina/Cordoba" | "America/Argentina/Jujuy" | "America/Argentina/La_Rioja" | "America/Argentina/Mendoza" | "America/Argentina/Rio_Gallegos" | "America/Argentina/Salta" | "America/Argentina/San_Juan" | "America/Argentina/San_Luis" | "America/Argentina/Tucuman" | "America/Argentina/Ushuaia" | "America/Aruba" | "America/Asuncion" | "America/Atikokan" | "America/Atka" | "America/Bahia" | "America/Bahia_Banderas" | "America/Barbados" | "America/Belem" | "America/Belize" | "America/Blanc-Sablon" | "America/Boa_Vista" | "America/Bogota" | "America/Boise" | "America/Buenos_Aires" | "America/Cambridge_Bay" | "America/Campo_Grande" | "America/Cancun" | "America/Caracas" | "America/Catamarca" | "America/Cayenne" | "America/Cayman" | "America/Chicago" | "America/Chihuahua" | "America/Ciudad_Juarez" | "America/Coral_Harbour" | "America/Cordoba" | "America/Costa_Rica" | "America/Coyhaique" | "America/Creston" | "America/Cuiaba" | "America/Curacao" | "America/Danmarkshavn" | "America/Dawson" | "America/Dawson_Creek" | "America/Denver" | "America/Detroit" | "America/Dominica" | "America/Edmonton" | "America/Eirunepe" | "America/El_Salvador" | "America/Ensenada" | "America/Fort_Nelson" | "America/Fort_Wayne" | "America/Fortaleza" | "America/Glace_Bay" | "America/Godthab" | "America/Goose_Bay" | "America/Grand_Turk" | "America/Grenada" | "America/Guadeloupe" | "America/Guatemala" | "America/Guayaquil" | "America/Guyana" | "America/Halifax" | "America/Havana" | "America/Hermosillo" | "America/Indiana/Indianapolis" | "America/Indiana/Knox" | "America/Indiana/Marengo" | "America/Indiana/Petersburg" | "America/Indiana/Tell_City" | "America/Indiana/Vevay" | "America/Indiana/Vincennes" | "America/Indiana/Winamac" | "America/Indianapolis" | "America/Inuvik" | "America/Iqaluit" | "America/Jamaica" | "America/Jujuy" | "America/Juneau" | "America/Kentucky/Louisville" | "America/Kentucky/Monticello" | "America/Knox_IN" | "America/Kralendijk" | "America/La_Paz" | "America/Lima" | "America/Los_Angeles" | "America/Louisville" | "America/Lower_Princes" | "America/Maceio" | "America/Managua" | "America/Manaus" | "America/Marigot" | "America/Martinique" | "America/Matamoros" | "America/Mazatlan" | "America/Mendoza" | "America/Menominee" | "America/Merida" | "America/Metlakatla" | "America/Mexico_City" | "America/Miquelon" | "America/Moncton" | "America/Monterrey" | "America/Montevideo" | "America/Montreal" | "America/Montserrat" | "America/Nassau" | "America/New_York" | "America/Nipigon" | "America/Nome" | "America/Noronha" | "America/North_Dakota/Beulah" | "America/North_Dakota/Center" | "America/North_Dakota/New_Salem" | "America/Nuuk" | "America/Ojinaga" | "America/Panama" | "America/Pangnirtung" | "America/Paramaribo" | "America/Phoenix" | "America/Port-au-Prince" | "America/Port_of_Spain" | "America/Porto_Acre" | "America/Porto_Velho" | "America/Puerto_Rico" | "America/Punta_Arenas" | "America/Rainy_River" | "America/Rankin_Inlet" | "America/Recife" | "America/Regina" | "America/Resolute" | "America/Rio_Branco" | "America/Rosario" | "America/Santa_Isabel" | "America/Santarem" | "America/Santiago" | "America/Santo_Domingo" | "America/Sao_Paulo" | "America/Scoresbysund" | "America/Shiprock" | "America/Sitka" | "America/St_Barthelemy" | "America/St_Johns" | "America/St_Kitts" | "America/St_Lucia" | "America/St_Thomas" | "America/St_Vincent" | "America/Swift_Current" | "America/Tegucigalpa" | "America/Thule" | "America/Thunder_Bay" | "America/Tijuana" | "America/Toronto" | "America/Tortola" | "America/Vancouver" | "America/Virgin" | "America/Whitehorse" | "America/Winnipeg" | "America/Yakutat" | "America/Yellowknife" | "Antarctica/Casey" | "Antarctica/Davis" | "Antarctica/DumontDUrville" | "Antarctica/Macquarie" | "Antarctica/Mawson" | "Antarctica/McMurdo" | "Antarctica/Palmer" | "Antarctica/Rothera" | "Antarctica/South_Pole" | "Antarctica/Syowa" | "Antarctica/Troll" | "Antarctica/Vostok" | "Arctic/Longyearbyen" | "Asia/Aden" | "Asia/Almaty" | "Asia/Amman" | "Asia/Anadyr" | "Asia/Aqtau" | "Asia/Aqtobe" | "Asia/Ashgabat" | "Asia/Ashkhabad" | "Asia/Atyrau" | "Asia/Baghdad" | "Asia/Bahrain" | "Asia/Baku" | "Asia/Bangkok" | "Asia/Barnaul" | "Asia/Beirut" | "Asia/Bishkek" | "Asia/Brunei" | "Asia/Calcutta" | "Asia/Chita" | "Asia/Choibalsan" | "Asia/Chongqing" | "Asia/Chungking" | "Asia/Colombo" | "Asia/Dacca" | "Asia/Damascus" | "Asia/Dhaka" | "Asia/Dili" | "Asia/Dubai" | "Asia/Dushanbe" | "Asia/Famagusta" | "Asia/Gaza" | "Asia/Harbin" | "Asia/Hebron" | "Asia/Ho_Chi_Minh" | "Asia/Hong_Kong" | "Asia/Hovd" | "Asia/Irkutsk" | "Asia/Istanbul" | "Asia/Jakarta" | "Asia/Jayapura" | "Asia/Jerusalem" | "Asia/Kabul" | "Asia/Kamchatka" | "Asia/Karachi" | "Asia/Kashgar" | "Asia/Kathmandu" | "Asia/Katmandu" | "Asia/Khandyga" | "Asia/Kolkata" | "Asia/Krasnoyarsk" | "Asia/Kuala_Lumpur" | "Asia/Kuching" | "Asia/Kuwait" | "Asia/Macao" | "Asia/Macau" | "Asia/Magadan" | "Asia/Makassar" | "Asia/Manila" | "Asia/Muscat" | "Asia/Nicosia" | "Asia/Novokuznetsk" | "Asia/Novosibirsk" | "Asia/Omsk" | "Asia/Oral" | "Asia/Phnom_Penh" | "Asia/Pontianak" | "Asia/Pyongyang" | "Asia/Qatar" | "Asia/Qostanay" | "Asia/Qyzylorda" | "Asia/Rangoon" | "Asia/Riyadh" | "Asia/Saigon" | "Asia/Sakhalin" | "Asia/Samarkand" | "Asia/Seoul" | "Asia/Shanghai" | "Asia/Singapore" | "Asia/Srednekolymsk" | "Asia/Taipei" | "Asia/Tashkent" | "Asia/Tbilisi" | "Asia/Tehran" | "Asia/Tel_Aviv" | "Asia/Thimbu" | "Asia/Thimphu" | "Asia/Tokyo" | "Asia/Tomsk" | "Asia/Ujung_Pandang" | "Asia/Ulaanbaatar" | "Asia/Ulan_Bator" | "Asia/Urumqi" | "Asia/Ust-Nera" | "Asia/Vientiane" | "Asia/Vladivostok" | "Asia/Yakutsk" | "Asia/Yangon" | "Asia/Yekaterinburg" | "Asia/Yerevan" | "Atlantic/Azores" | "Atlantic/Bermuda" | "Atlantic/Canary" | "Atlantic/Cape_Verde" | "Atlantic/Faeroe" | "Atlantic/Faroe" | "Atlantic/Jan_Mayen" | "Atlantic/Madeira" | "Atlantic/Reykjavik" | "Atlantic/South_Georgia" | "Atlantic/St_Helena" | "Atlantic/Stanley" | "Australia/ACT" | "Australia/Adelaide" | "Australia/Brisbane" | "Australia/Broken_Hill" | "Australia/Canberra" | "Australia/Currie" | "Australia/Darwin" | "Australia/Eucla" | "Australia/Hobart" | "Australia/LHI" | "Australia/Lindeman" | "Australia/Lord_Howe" | "Australia/Melbourne" | "Australia/NSW" | "Australia/North" | "Australia/Perth" | "Australia/Queensland" | "Australia/South" | "Australia/Sydney" | "Australia/Tasmania" | "Australia/Victoria" | "Australia/West" | "Australia/Yancowinna" | "Brazil/Acre" | "Brazil/DeNoronha" | "Brazil/East" | "Brazil/West" | "CET" | "CST6CDT" | "Canada/Atlantic" | "Canada/Central" | "Canada/Eastern" | "Canada/Mountain" | "Canada/Newfoundland" | "Canada/Pacific" | "Canada/Saskatchewan" | "Canada/Yukon" | "Chile/Continental" | "Chile/EasterIsland" | "Cuba" | "EET" | "EST" | "EST5EDT" | "Egypt" | "Eire" | "Etc/GMT" | "Etc/GMT+0" | "Etc/GMT+1" | "Etc/GMT+10" | "Etc/GMT+11" | "Etc/GMT+12" | "Etc/GMT+2" | "Etc/GMT+3" | "Etc/GMT+4" | "Etc/GMT+5" | "Etc/GMT+6" | "Etc/GMT+7" | "Etc/GMT+8" | "Etc/GMT+9" | "Etc/GMT-0" | "Etc/GMT-1" | "Etc/GMT-10" | "Etc/GMT-11" | "Etc/GMT-12" | "Etc/GMT-13" | "Etc/GMT-14" | "Etc/GMT-2" | "Etc/GMT-3" | "Etc/GMT-4" | "Etc/GMT-5" | "Etc/GMT-6" | "Etc/GMT-7" | "Etc/GMT-8" | "Etc/GMT-9" | "Etc/GMT0" | "Etc/Greenwich" | "Etc/UCT" | "Etc/UTC" | "Etc/Universal" | "Etc/Zulu" | "Europe/Amsterdam" | "Europe/Andorra" | "Europe/Astrakhan" | "Europe/Athens" | "Europe/Belfast" | "Europe/Belgrade" | "Europe/Berlin" | "Europe/Bratislava" | "Europe/Brussels" | "Europe/Bucharest" | "Europe/Budapest" | "Europe/Busingen" | "Europe/Chisinau" | "Europe/Copenhagen" | "Europe/Dublin" | "Europe/Gibraltar" | "Europe/Guernsey" | "Europe/Helsinki" | "Europe/Isle_of_Man" | "Europe/Istanbul" | "Europe/Jersey" | "Europe/Kaliningrad" | "Europe/Kiev" | "Europe/Kirov" | "Europe/Kyiv" | "Europe/Lisbon" | "Europe/Ljubljana" | "Europe/London" | "Europe/Luxembourg" | "Europe/Madrid" | "Europe/Malta" | "Europe/Mariehamn" | "Europe/Minsk" | "Europe/Monaco" | "Europe/Moscow" | "Europe/Nicosia" | "Europe/Oslo" | "Europe/Paris" | "Europe/Podgorica" | "Europe/Prague" | "Europe/Riga" | "Europe/Rome" | "Europe/Samara" | "Europe/San_Marino" | "Europe/Sarajevo" | "Europe/Saratov" | "Europe/Simferopol" | "Europe/Skopje" | "Europe/Sofia" | "Europe/Stockholm" | "Europe/Tallinn" | "Europe/Tirane" | "Europe/Tiraspol" | "Europe/Ulyanovsk" | "Europe/Uzhgorod" | "Europe/Vaduz" | "Europe/Vatican" | "Europe/Vienna" | "Europe/Vilnius" | "Europe/Volgograd" | "Europe/Warsaw" | "Europe/Zagreb" | "Europe/Zaporozhye" | "Europe/Zurich" | "GB" | "GB-Eire" | "GMT" | "GMT+0" | "GMT-0" | "GMT0" | "Greenwich" | "HST" | "Hongkong" | "Iceland" | "Indian/Antananarivo" | "Indian/Chagos" | "Indian/Christmas" | "Indian/Cocos" | "Indian/Comoro" | "Indian/Kerguelen" | "Indian/Mahe" | "Indian/Maldives" | "Indian/Mauritius" | "Indian/Mayotte" | "Indian/Reunion" | "Iran" | "Israel" | "Jamaica" | "Japan" | "Kwajalein" | "Libya" | "MET" | "MST" | "MST7MDT" | "Mexico/BajaNorte" | "Mexico/BajaSur" | "Mexico/General" | "NZ" | "NZ-CHAT" | "Navajo" | "PRC" | "PST8PDT" | "Pacific/Apia" | "Pacific/Auckland" | "Pacific/Bougainville" | "Pacific/Chatham" | "Pacific/Chuuk" | "Pacific/Easter" | "Pacific/Efate" | "Pacific/Enderbury" | "Pacific/Fakaofo" | "Pacific/Fiji" | "Pacific/Funafuti" | "Pacific/Galapagos" | "Pacific/Gambier" | "Pacific/Guadalcanal" | "Pacific/Guam" | "Pacific/Honolulu" | "Pacific/Johnston" | "Pacific/Kanton" | "Pacific/Kiritimati" | "Pacific/Kosrae" | "Pacific/Kwajalein" | "Pacific/Majuro" | "Pacific/Marquesas" | "Pacific/Midway" | "Pacific/Nauru" | "Pacific/Niue" | "Pacific/Norfolk" | "Pacific/Noumea" | "Pacific/Pago_Pago" | "Pacific/Palau" | "Pacific/Pitcairn" | "Pacific/Pohnpei" | "Pacific/Ponape" | "Pacific/Port_Moresby" | "Pacific/Rarotonga" | "Pacific/Saipan" | "Pacific/Samoa" | "Pacific/Tahiti" | "Pacific/Tarawa" | "Pacific/Tongatapu" | "Pacific/Truk" | "Pacific/Wake" | "Pacific/Wallis" | "Pacific/Yap" | "Poland" | "Portugal" | "ROC" | "ROK" | "Singapore" | "Turkey" | "UCT" | "US/Alaska" | "US/Aleutian" | "US/Arizona" | "US/Central" | "US/East-Indiana" | "US/Eastern" | "US/Hawaii" | "US/Indiana-Starke" | "US/Michigan" | "US/Mountain" | "US/Pacific" | "US/Samoa" | "UTC" | "Universal" | "W-SU" | "WET" | "Zulu"IANA timezone in which the trigger, its times and the filter dates are evaluated. Defaults to UTC.
trigger*requiredScheduleTriggerWhen the workflow runs. See ScheduleTrigger for the available trigger types.

ScheduleExport​

NameTypeDescription
filterParametersnull | ScheduleFilterParametersOptional date restrictions for time and interval triggers. Ignored for cron and once triggers.
inputsScheduleInputsWorkflow inputs passed to every scheduled run.
isActivebooleanWhether the schedule runs the workflow. Defaults to true. An inactive schedule keeps its definition but doesn't run.
rulenull | stringID of a scheduling rule, e.g. a business calendar rule, that selects the days on which a time or interval trigger may run. Ignored for cron and once triggers.
timezone"Africa/Abidjan" | "Africa/Accra" | "Africa/Addis_Ababa" | "Africa/Algiers" | "Africa/Asmara" | "Africa/Asmera" | "Africa/Bamako" | "Africa/Bangui" | "Africa/Banjul" | "Africa/Bissau" | "Africa/Blantyre" | "Africa/Brazzaville" | "Africa/Bujumbura" | "Africa/Cairo" | "Africa/Casablanca" | "Africa/Ceuta" | "Africa/Conakry" | "Africa/Dakar" | "Africa/Dar_es_Salaam" | "Africa/Djibouti" | "Africa/Douala" | "Africa/El_Aaiun" | "Africa/Freetown" | "Africa/Gaborone" | "Africa/Harare" | "Africa/Johannesburg" | "Africa/Juba" | "Africa/Kampala" | "Africa/Khartoum" | "Africa/Kigali" | "Africa/Kinshasa" | "Africa/Lagos" | "Africa/Libreville" | "Africa/Lome" | "Africa/Luanda" | "Africa/Lubumbashi" | "Africa/Lusaka" | "Africa/Malabo" | "Africa/Maputo" | "Africa/Maseru" | "Africa/Mbabane" | "Africa/Mogadishu" | "Africa/Monrovia" | "Africa/Nairobi" | "Africa/Ndjamena" | "Africa/Niamey" | "Africa/Nouakchott" | "Africa/Ouagadougou" | "Africa/Porto-Novo" | "Africa/Sao_Tome" | "Africa/Timbuktu" | "Africa/Tripoli" | "Africa/Tunis" | "Africa/Windhoek" | "America/Adak" | "America/Anchorage" | "America/Anguilla" | "America/Antigua" | "America/Araguaina" | "America/Argentina/Buenos_Aires" | "America/Argentina/Catamarca" | "America/Argentina/ComodRivadavia" | "America/Argentina/Cordoba" | "America/Argentina/Jujuy" | "America/Argentina/La_Rioja" | "America/Argentina/Mendoza" | "America/Argentina/Rio_Gallegos" | "America/Argentina/Salta" | "America/Argentina/San_Juan" | "America/Argentina/San_Luis" | "America/Argentina/Tucuman" | "America/Argentina/Ushuaia" | "America/Aruba" | "America/Asuncion" | "America/Atikokan" | "America/Atka" | "America/Bahia" | "America/Bahia_Banderas" | "America/Barbados" | "America/Belem" | "America/Belize" | "America/Blanc-Sablon" | "America/Boa_Vista" | "America/Bogota" | "America/Boise" | "America/Buenos_Aires" | "America/Cambridge_Bay" | "America/Campo_Grande" | "America/Cancun" | "America/Caracas" | "America/Catamarca" | "America/Cayenne" | "America/Cayman" | "America/Chicago" | "America/Chihuahua" | "America/Ciudad_Juarez" | "America/Coral_Harbour" | "America/Cordoba" | "America/Costa_Rica" | "America/Coyhaique" | "America/Creston" | "America/Cuiaba" | "America/Curacao" | "America/Danmarkshavn" | "America/Dawson" | "America/Dawson_Creek" | "America/Denver" | "America/Detroit" | "America/Dominica" | "America/Edmonton" | "America/Eirunepe" | "America/El_Salvador" | "America/Ensenada" | "America/Fort_Nelson" | "America/Fort_Wayne" | "America/Fortaleza" | "America/Glace_Bay" | "America/Godthab" | "America/Goose_Bay" | "America/Grand_Turk" | "America/Grenada" | "America/Guadeloupe" | "America/Guatemala" | "America/Guayaquil" | "America/Guyana" | "America/Halifax" | "America/Havana" | "America/Hermosillo" | "America/Indiana/Indianapolis" | "America/Indiana/Knox" | "America/Indiana/Marengo" | "America/Indiana/Petersburg" | "America/Indiana/Tell_City" | "America/Indiana/Vevay" | "America/Indiana/Vincennes" | "America/Indiana/Winamac" | "America/Indianapolis" | "America/Inuvik" | "America/Iqaluit" | "America/Jamaica" | "America/Jujuy" | "America/Juneau" | "America/Kentucky/Louisville" | "America/Kentucky/Monticello" | "America/Knox_IN" | "America/Kralendijk" | "America/La_Paz" | "America/Lima" | "America/Los_Angeles" | "America/Louisville" | "America/Lower_Princes" | "America/Maceio" | "America/Managua" | "America/Manaus" | "America/Marigot" | "America/Martinique" | "America/Matamoros" | "America/Mazatlan" | "America/Mendoza" | "America/Menominee" | "America/Merida" | "America/Metlakatla" | "America/Mexico_City" | "America/Miquelon" | "America/Moncton" | "America/Monterrey" | "America/Montevideo" | "America/Montreal" | "America/Montserrat" | "America/Nassau" | "America/New_York" | "America/Nipigon" | "America/Nome" | "America/Noronha" | "America/North_Dakota/Beulah" | "America/North_Dakota/Center" | "America/North_Dakota/New_Salem" | "America/Nuuk" | "America/Ojinaga" | "America/Panama" | "America/Pangnirtung" | "America/Paramaribo" | "America/Phoenix" | "America/Port-au-Prince" | "America/Port_of_Spain" | "America/Porto_Acre" | "America/Porto_Velho" | "America/Puerto_Rico" | "America/Punta_Arenas" | "America/Rainy_River" | "America/Rankin_Inlet" | "America/Recife" | "America/Regina" | "America/Resolute" | "America/Rio_Branco" | "America/Rosario" | "America/Santa_Isabel" | "America/Santarem" | "America/Santiago" | "America/Santo_Domingo" | "America/Sao_Paulo" | "America/Scoresbysund" | "America/Shiprock" | "America/Sitka" | "America/St_Barthelemy" | "America/St_Johns" | "America/St_Kitts" | "America/St_Lucia" | "America/St_Thomas" | "America/St_Vincent" | "America/Swift_Current" | "America/Tegucigalpa" | "America/Thule" | "America/Thunder_Bay" | "America/Tijuana" | "America/Toronto" | "America/Tortola" | "America/Vancouver" | "America/Virgin" | "America/Whitehorse" | "America/Winnipeg" | "America/Yakutat" | "America/Yellowknife" | "Antarctica/Casey" | "Antarctica/Davis" | "Antarctica/DumontDUrville" | "Antarctica/Macquarie" | "Antarctica/Mawson" | "Antarctica/McMurdo" | "Antarctica/Palmer" | "Antarctica/Rothera" | "Antarctica/South_Pole" | "Antarctica/Syowa" | "Antarctica/Troll" | "Antarctica/Vostok" | "Arctic/Longyearbyen" | "Asia/Aden" | "Asia/Almaty" | "Asia/Amman" | "Asia/Anadyr" | "Asia/Aqtau" | "Asia/Aqtobe" | "Asia/Ashgabat" | "Asia/Ashkhabad" | "Asia/Atyrau" | "Asia/Baghdad" | "Asia/Bahrain" | "Asia/Baku" | "Asia/Bangkok" | "Asia/Barnaul" | "Asia/Beirut" | "Asia/Bishkek" | "Asia/Brunei" | "Asia/Calcutta" | "Asia/Chita" | "Asia/Choibalsan" | "Asia/Chongqing" | "Asia/Chungking" | "Asia/Colombo" | "Asia/Dacca" | "Asia/Damascus" | "Asia/Dhaka" | "Asia/Dili" | "Asia/Dubai" | "Asia/Dushanbe" | "Asia/Famagusta" | "Asia/Gaza" | "Asia/Harbin" | "Asia/Hebron" | "Asia/Ho_Chi_Minh" | "Asia/Hong_Kong" | "Asia/Hovd" | "Asia/Irkutsk" | "Asia/Istanbul" | "Asia/Jakarta" | "Asia/Jayapura" | "Asia/Jerusalem" | "Asia/Kabul" | "Asia/Kamchatka" | "Asia/Karachi" | "Asia/Kashgar" | "Asia/Kathmandu" | "Asia/Katmandu" | "Asia/Khandyga" | "Asia/Kolkata" | "Asia/Krasnoyarsk" | "Asia/Kuala_Lumpur" | "Asia/Kuching" | "Asia/Kuwait" | "Asia/Macao" | "Asia/Macau" | "Asia/Magadan" | "Asia/Makassar" | "Asia/Manila" | "Asia/Muscat" | "Asia/Nicosia" | "Asia/Novokuznetsk" | "Asia/Novosibirsk" | "Asia/Omsk" | "Asia/Oral" | "Asia/Phnom_Penh" | "Asia/Pontianak" | "Asia/Pyongyang" | "Asia/Qatar" | "Asia/Qostanay" | "Asia/Qyzylorda" | "Asia/Rangoon" | "Asia/Riyadh" | "Asia/Saigon" | "Asia/Sakhalin" | "Asia/Samarkand" | "Asia/Seoul" | "Asia/Shanghai" | "Asia/Singapore" | "Asia/Srednekolymsk" | "Asia/Taipei" | "Asia/Tashkent" | "Asia/Tbilisi" | "Asia/Tehran" | "Asia/Tel_Aviv" | "Asia/Thimbu" | "Asia/Thimphu" | "Asia/Tokyo" | "Asia/Tomsk" | "Asia/Ujung_Pandang" | "Asia/Ulaanbaatar" | "Asia/Ulan_Bator" | "Asia/Urumqi" | "Asia/Ust-Nera" | "Asia/Vientiane" | "Asia/Vladivostok" | "Asia/Yakutsk" | "Asia/Yangon" | "Asia/Yekaterinburg" | "Asia/Yerevan" | "Atlantic/Azores" | "Atlantic/Bermuda" | "Atlantic/Canary" | "Atlantic/Cape_Verde" | "Atlantic/Faeroe" | "Atlantic/Faroe" | "Atlantic/Jan_Mayen" | "Atlantic/Madeira" | "Atlantic/Reykjavik" | "Atlantic/South_Georgia" | "Atlantic/St_Helena" | "Atlantic/Stanley" | "Australia/ACT" | "Australia/Adelaide" | "Australia/Brisbane" | "Australia/Broken_Hill" | "Australia/Canberra" | "Australia/Currie" | "Australia/Darwin" | "Australia/Eucla" | "Australia/Hobart" | "Australia/LHI" | "Australia/Lindeman" | "Australia/Lord_Howe" | "Australia/Melbourne" | "Australia/NSW" | "Australia/North" | "Australia/Perth" | "Australia/Queensland" | "Australia/South" | "Australia/Sydney" | "Australia/Tasmania" | "Australia/Victoria" | "Australia/West" | "Australia/Yancowinna" | "Brazil/Acre" | "Brazil/DeNoronha" | "Brazil/East" | "Brazil/West" | "CET" | "CST6CDT" | "Canada/Atlantic" | "Canada/Central" | "Canada/Eastern" | "Canada/Mountain" | "Canada/Newfoundland" | "Canada/Pacific" | "Canada/Saskatchewan" | "Canada/Yukon" | "Chile/Continental" | "Chile/EasterIsland" | "Cuba" | "EET" | "EST" | "EST5EDT" | "Egypt" | "Eire" | "Etc/GMT" | "Etc/GMT+0" | "Etc/GMT+1" | "Etc/GMT+10" | "Etc/GMT+11" | "Etc/GMT+12" | "Etc/GMT+2" | "Etc/GMT+3" | "Etc/GMT+4" | "Etc/GMT+5" | "Etc/GMT+6" | "Etc/GMT+7" | "Etc/GMT+8" | "Etc/GMT+9" | "Etc/GMT-0" | "Etc/GMT-1" | "Etc/GMT-10" | "Etc/GMT-11" | "Etc/GMT-12" | "Etc/GMT-13" | "Etc/GMT-14" | "Etc/GMT-2" | "Etc/GMT-3" | "Etc/GMT-4" | "Etc/GMT-5" | "Etc/GMT-6" | "Etc/GMT-7" | "Etc/GMT-8" | "Etc/GMT-9" | "Etc/GMT0" | "Etc/Greenwich" | "Etc/UCT" | "Etc/UTC" | "Etc/Universal" | "Etc/Zulu" | "Europe/Amsterdam" | "Europe/Andorra" | "Europe/Astrakhan" | "Europe/Athens" | "Europe/Belfast" | "Europe/Belgrade" | "Europe/Berlin" | "Europe/Bratislava" | "Europe/Brussels" | "Europe/Bucharest" | "Europe/Budapest" | "Europe/Busingen" | "Europe/Chisinau" | "Europe/Copenhagen" | "Europe/Dublin" | "Europe/Gibraltar" | "Europe/Guernsey" | "Europe/Helsinki" | "Europe/Isle_of_Man" | "Europe/Istanbul" | "Europe/Jersey" | "Europe/Kaliningrad" | "Europe/Kiev" | "Europe/Kirov" | "Europe/Kyiv" | "Europe/Lisbon" | "Europe/Ljubljana" | "Europe/London" | "Europe/Luxembourg" | "Europe/Madrid" | "Europe/Malta" | "Europe/Mariehamn" | "Europe/Minsk" | "Europe/Monaco" | "Europe/Moscow" | "Europe/Nicosia" | "Europe/Oslo" | "Europe/Paris" | "Europe/Podgorica" | "Europe/Prague" | "Europe/Riga" | "Europe/Rome" | "Europe/Samara" | "Europe/San_Marino" | "Europe/Sarajevo" | "Europe/Saratov" | "Europe/Simferopol" | "Europe/Skopje" | "Europe/Sofia" | "Europe/Stockholm" | "Europe/Tallinn" | "Europe/Tirane" | "Europe/Tiraspol" | "Europe/Ulyanovsk" | "Europe/Uzhgorod" | "Europe/Vaduz" | "Europe/Vatican" | "Europe/Vienna" | "Europe/Vilnius" | "Europe/Volgograd" | "Europe/Warsaw" | "Europe/Zagreb" | "Europe/Zaporozhye" | "Europe/Zurich" | "GB" | "GB-Eire" | "GMT" | "GMT+0" | "GMT-0" | "GMT0" | "Greenwich" | "HST" | "Hongkong" | "Iceland" | "Indian/Antananarivo" | "Indian/Chagos" | "Indian/Christmas" | "Indian/Cocos" | "Indian/Comoro" | "Indian/Kerguelen" | "Indian/Mahe" | "Indian/Maldives" | "Indian/Mauritius" | "Indian/Mayotte" | "Indian/Reunion" | "Iran" | "Israel" | "Jamaica" | "Japan" | "Kwajalein" | "Libya" | "MET" | "MST" | "MST7MDT" | "Mexico/BajaNorte" | "Mexico/BajaSur" | "Mexico/General" | "NZ" | "NZ-CHAT" | "Navajo" | "PRC" | "PST8PDT" | "Pacific/Apia" | "Pacific/Auckland" | "Pacific/Bougainville" | "Pacific/Chatham" | "Pacific/Chuuk" | "Pacific/Easter" | "Pacific/Efate" | "Pacific/Enderbury" | "Pacific/Fakaofo" | "Pacific/Fiji" | "Pacific/Funafuti" | "Pacific/Galapagos" | "Pacific/Gambier" | "Pacific/Guadalcanal" | "Pacific/Guam" | "Pacific/Honolulu" | "Pacific/Johnston" | "Pacific/Kanton" | "Pacific/Kiritimati" | "Pacific/Kosrae" | "Pacific/Kwajalein" | "Pacific/Majuro" | "Pacific/Marquesas" | "Pacific/Midway" | "Pacific/Nauru" | "Pacific/Niue" | "Pacific/Norfolk" | "Pacific/Noumea" | "Pacific/Pago_Pago" | "Pacific/Palau" | "Pacific/Pitcairn" | "Pacific/Pohnpei" | "Pacific/Ponape" | "Pacific/Port_Moresby" | "Pacific/Rarotonga" | "Pacific/Saipan" | "Pacific/Samoa" | "Pacific/Tahiti" | "Pacific/Tarawa" | "Pacific/Tongatapu" | "Pacific/Truk" | "Pacific/Wake" | "Pacific/Wallis" | "Pacific/Yap" | "Poland" | "Portugal" | "ROC" | "ROK" | "Singapore" | "Turkey" | "UCT" | "US/Alaska" | "US/Aleutian" | "US/Arizona" | "US/Central" | "US/East-Indiana" | "US/Eastern" | "US/Hawaii" | "US/Indiana-Starke" | "US/Michigan" | "US/Mountain" | "US/Pacific" | "US/Samoa" | "UTC" | "Universal" | "W-SU" | "WET" | "Zulu"IANA timezone in which the trigger, its times and the filter dates are evaluated. Defaults to UTC.
trigger*requiredScheduleTriggerWhen the workflow runs. See ScheduleTrigger for the available trigger types.

ScheduleFilterParameters​

Restricts the dates on which a time or interval trigger runs.

Dates are YYYY-MM-DD in the schedule's timezone. Apart from count, filter parameters don't apply to cron and once triggers.

NameTypeDescription
countnumberOn a saved schedule: the number of remaining runs. After the last one, the schedule is deactivated. Applies to all trigger types. If omitted, a saved schedule has no limit and runs indefinitely. In the schedule preview: the number of upcoming runs to return, at most 50. If omitted, 10 are returned.

Minimum: 1
earliestStartnull | stringDate of the first possible run in YYYY-MM-DD format. No run happens before this date.
earliestStartTimestringTime of day in 24-hour HH:MM format that, together with earliestStart, marks the first possible run of an interval trigger. Ignored without earliestStart and for time triggers.

Default: 00:00
Pattern: ^([0-1]\d|2[0-3]):[0-5]\d$
excludeDatesnull | Array<string>Dates in YYYY-MM-DD format on which the trigger doesn't run. Must lie between earliestStart and until and must not overlap with includeDates.
includeDatesnull | Array<string>Dates in YYYY-MM-DD format to add to the days selected by the schedule's rule. On these dates the trigger runs at its usual times even if the rule doesn't select them, so it only has an effect together with rule. Must lie between earliestStart and until and must not overlap with excludeDates.
untilnull | stringDate of the last possible run in YYYY-MM-DD format, inclusive. Must not be before earliestStart.

ScheduleInput​

A workflow input value passed to every scheduled run. Only static values are supported.

NameTypeDescription
type*required"static"
value*requiredstring | numberThe input value.

ScheduleInputs​

Workflow inputs for scheduled runs, keyed by input name.

Each scheduled run receives them as its execution input.

type: Record<string, ScheduleInput>

SchedulePreviewRequest​

NameTypeDescription
schedule*requiredScheduleRequestThe schedule to preview. Only trigger, rule, filterParameters and timezone are used.

SchedulePreviewResponse​

Result of a schedule preview: the upcoming runs, or why the schedule is invalid.

NameTypeDescription
errornull | stringWhy the schedule definition is invalid.
nextExecutionsnull | Array<Date>Upcoming runs in UTC, at most filterParameters.count.
valid*requiredbooleanWhether the schedule definition is valid.

ScheduleRequest​

NameTypeDescription
filterParametersnull | ScheduleFilterParametersOptional date restrictions for time and interval triggers. Ignored for cron and once triggers.
isActivebooleanWhether the schedule runs the workflow. Defaults to true. An inactive schedule keeps its definition but doesn't run.
rulenull | stringID of a scheduling rule, e.g. a business calendar rule, that selects the days on which a time or interval trigger may run. Ignored for cron and once triggers.
timezone"Africa/Abidjan" | "Africa/Accra" | "Africa/Addis_Ababa" | "Africa/Algiers" | "Africa/Asmara" | "Africa/Asmera" | "Africa/Bamako" | "Africa/Bangui" | "Africa/Banjul" | "Africa/Bissau" | "Africa/Blantyre" | "Africa/Brazzaville" | "Africa/Bujumbura" | "Africa/Cairo" | "Africa/Casablanca" | "Africa/Ceuta" | "Africa/Conakry" | "Africa/Dakar" | "Africa/Dar_es_Salaam" | "Africa/Djibouti" | "Africa/Douala" | "Africa/El_Aaiun" | "Africa/Freetown" | "Africa/Gaborone" | "Africa/Harare" | "Africa/Johannesburg" | "Africa/Juba" | "Africa/Kampala" | "Africa/Khartoum" | "Africa/Kigali" | "Africa/Kinshasa" | "Africa/Lagos" | "Africa/Libreville" | "Africa/Lome" | "Africa/Luanda" | "Africa/Lubumbashi" | "Africa/Lusaka" | "Africa/Malabo" | "Africa/Maputo" | "Africa/Maseru" | "Africa/Mbabane" | "Africa/Mogadishu" | "Africa/Monrovia" | "Africa/Nairobi" | "Africa/Ndjamena" | "Africa/Niamey" | "Africa/Nouakchott" | "Africa/Ouagadougou" | "Africa/Porto-Novo" | "Africa/Sao_Tome" | "Africa/Timbuktu" | "Africa/Tripoli" | "Africa/Tunis" | "Africa/Windhoek" | "America/Adak" | "America/Anchorage" | "America/Anguilla" | "America/Antigua" | "America/Araguaina" | "America/Argentina/Buenos_Aires" | "America/Argentina/Catamarca" | "America/Argentina/ComodRivadavia" | "America/Argentina/Cordoba" | "America/Argentina/Jujuy" | "America/Argentina/La_Rioja" | "America/Argentina/Mendoza" | "America/Argentina/Rio_Gallegos" | "America/Argentina/Salta" | "America/Argentina/San_Juan" | "America/Argentina/San_Luis" | "America/Argentina/Tucuman" | "America/Argentina/Ushuaia" | "America/Aruba" | "America/Asuncion" | "America/Atikokan" | "America/Atka" | "America/Bahia" | "America/Bahia_Banderas" | "America/Barbados" | "America/Belem" | "America/Belize" | "America/Blanc-Sablon" | "America/Boa_Vista" | "America/Bogota" | "America/Boise" | "America/Buenos_Aires" | "America/Cambridge_Bay" | "America/Campo_Grande" | "America/Cancun" | "America/Caracas" | "America/Catamarca" | "America/Cayenne" | "America/Cayman" | "America/Chicago" | "America/Chihuahua" | "America/Ciudad_Juarez" | "America/Coral_Harbour" | "America/Cordoba" | "America/Costa_Rica" | "America/Coyhaique" | "America/Creston" | "America/Cuiaba" | "America/Curacao" | "America/Danmarkshavn" | "America/Dawson" | "America/Dawson_Creek" | "America/Denver" | "America/Detroit" | "America/Dominica" | "America/Edmonton" | "America/Eirunepe" | "America/El_Salvador" | "America/Ensenada" | "America/Fort_Nelson" | "America/Fort_Wayne" | "America/Fortaleza" | "America/Glace_Bay" | "America/Godthab" | "America/Goose_Bay" | "America/Grand_Turk" | "America/Grenada" | "America/Guadeloupe" | "America/Guatemala" | "America/Guayaquil" | "America/Guyana" | "America/Halifax" | "America/Havana" | "America/Hermosillo" | "America/Indiana/Indianapolis" | "America/Indiana/Knox" | "America/Indiana/Marengo" | "America/Indiana/Petersburg" | "America/Indiana/Tell_City" | "America/Indiana/Vevay" | "America/Indiana/Vincennes" | "America/Indiana/Winamac" | "America/Indianapolis" | "America/Inuvik" | "America/Iqaluit" | "America/Jamaica" | "America/Jujuy" | "America/Juneau" | "America/Kentucky/Louisville" | "America/Kentucky/Monticello" | "America/Knox_IN" | "America/Kralendijk" | "America/La_Paz" | "America/Lima" | "America/Los_Angeles" | "America/Louisville" | "America/Lower_Princes" | "America/Maceio" | "America/Managua" | "America/Manaus" | "America/Marigot" | "America/Martinique" | "America/Matamoros" | "America/Mazatlan" | "America/Mendoza" | "America/Menominee" | "America/Merida" | "America/Metlakatla" | "America/Mexico_City" | "America/Miquelon" | "America/Moncton" | "America/Monterrey" | "America/Montevideo" | "America/Montreal" | "America/Montserrat" | "America/Nassau" | "America/New_York" | "America/Nipigon" | "America/Nome" | "America/Noronha" | "America/North_Dakota/Beulah" | "America/North_Dakota/Center" | "America/North_Dakota/New_Salem" | "America/Nuuk" | "America/Ojinaga" | "America/Panama" | "America/Pangnirtung" | "America/Paramaribo" | "America/Phoenix" | "America/Port-au-Prince" | "America/Port_of_Spain" | "America/Porto_Acre" | "America/Porto_Velho" | "America/Puerto_Rico" | "America/Punta_Arenas" | "America/Rainy_River" | "America/Rankin_Inlet" | "America/Recife" | "America/Regina" | "America/Resolute" | "America/Rio_Branco" | "America/Rosario" | "America/Santa_Isabel" | "America/Santarem" | "America/Santiago" | "America/Santo_Domingo" | "America/Sao_Paulo" | "America/Scoresbysund" | "America/Shiprock" | "America/Sitka" | "America/St_Barthelemy" | "America/St_Johns" | "America/St_Kitts" | "America/St_Lucia" | "America/St_Thomas" | "America/St_Vincent" | "America/Swift_Current" | "America/Tegucigalpa" | "America/Thule" | "America/Thunder_Bay" | "America/Tijuana" | "America/Toronto" | "America/Tortola" | "America/Vancouver" | "America/Virgin" | "America/Whitehorse" | "America/Winnipeg" | "America/Yakutat" | "America/Yellowknife" | "Antarctica/Casey" | "Antarctica/Davis" | "Antarctica/DumontDUrville" | "Antarctica/Macquarie" | "Antarctica/Mawson" | "Antarctica/McMurdo" | "Antarctica/Palmer" | "Antarctica/Rothera" | "Antarctica/South_Pole" | "Antarctica/Syowa" | "Antarctica/Troll" | "Antarctica/Vostok" | "Arctic/Longyearbyen" | "Asia/Aden" | "Asia/Almaty" | "Asia/Amman" | "Asia/Anadyr" | "Asia/Aqtau" | "Asia/Aqtobe" | "Asia/Ashgabat" | "Asia/Ashkhabad" | "Asia/Atyrau" | "Asia/Baghdad" | "Asia/Bahrain" | "Asia/Baku" | "Asia/Bangkok" | "Asia/Barnaul" | "Asia/Beirut" | "Asia/Bishkek" | "Asia/Brunei" | "Asia/Calcutta" | "Asia/Chita" | "Asia/Choibalsan" | "Asia/Chongqing" | "Asia/Chungking" | "Asia/Colombo" | "Asia/Dacca" | "Asia/Damascus" | "Asia/Dhaka" | "Asia/Dili" | "Asia/Dubai" | "Asia/Dushanbe" | "Asia/Famagusta" | "Asia/Gaza" | "Asia/Harbin" | "Asia/Hebron" | "Asia/Ho_Chi_Minh" | "Asia/Hong_Kong" | "Asia/Hovd" | "Asia/Irkutsk" | "Asia/Istanbul" | "Asia/Jakarta" | "Asia/Jayapura" | "Asia/Jerusalem" | "Asia/Kabul" | "Asia/Kamchatka" | "Asia/Karachi" | "Asia/Kashgar" | "Asia/Kathmandu" | "Asia/Katmandu" | "Asia/Khandyga" | "Asia/Kolkata" | "Asia/Krasnoyarsk" | "Asia/Kuala_Lumpur" | "Asia/Kuching" | "Asia/Kuwait" | "Asia/Macao" | "Asia/Macau" | "Asia/Magadan" | "Asia/Makassar" | "Asia/Manila" | "Asia/Muscat" | "Asia/Nicosia" | "Asia/Novokuznetsk" | "Asia/Novosibirsk" | "Asia/Omsk" | "Asia/Oral" | "Asia/Phnom_Penh" | "Asia/Pontianak" | "Asia/Pyongyang" | "Asia/Qatar" | "Asia/Qostanay" | "Asia/Qyzylorda" | "Asia/Rangoon" | "Asia/Riyadh" | "Asia/Saigon" | "Asia/Sakhalin" | "Asia/Samarkand" | "Asia/Seoul" | "Asia/Shanghai" | "Asia/Singapore" | "Asia/Srednekolymsk" | "Asia/Taipei" | "Asia/Tashkent" | "Asia/Tbilisi" | "Asia/Tehran" | "Asia/Tel_Aviv" | "Asia/Thimbu" | "Asia/Thimphu" | "Asia/Tokyo" | "Asia/Tomsk" | "Asia/Ujung_Pandang" | "Asia/Ulaanbaatar" | "Asia/Ulan_Bator" | "Asia/Urumqi" | "Asia/Ust-Nera" | "Asia/Vientiane" | "Asia/Vladivostok" | "Asia/Yakutsk" | "Asia/Yangon" | "Asia/Yekaterinburg" | "Asia/Yerevan" | "Atlantic/Azores" | "Atlantic/Bermuda" | "Atlantic/Canary" | "Atlantic/Cape_Verde" | "Atlantic/Faeroe" | "Atlantic/Faroe" | "Atlantic/Jan_Mayen" | "Atlantic/Madeira" | "Atlantic/Reykjavik" | "Atlantic/South_Georgia" | "Atlantic/St_Helena" | "Atlantic/Stanley" | "Australia/ACT" | "Australia/Adelaide" | "Australia/Brisbane" | "Australia/Broken_Hill" | "Australia/Canberra" | "Australia/Currie" | "Australia/Darwin" | "Australia/Eucla" | "Australia/Hobart" | "Australia/LHI" | "Australia/Lindeman" | "Australia/Lord_Howe" | "Australia/Melbourne" | "Australia/NSW" | "Australia/North" | "Australia/Perth" | "Australia/Queensland" | "Australia/South" | "Australia/Sydney" | "Australia/Tasmania" | "Australia/Victoria" | "Australia/West" | "Australia/Yancowinna" | "Brazil/Acre" | "Brazil/DeNoronha" | "Brazil/East" | "Brazil/West" | "CET" | "CST6CDT" | "Canada/Atlantic" | "Canada/Central" | "Canada/Eastern" | "Canada/Mountain" | "Canada/Newfoundland" | "Canada/Pacific" | "Canada/Saskatchewan" | "Canada/Yukon" | "Chile/Continental" | "Chile/EasterIsland" | "Cuba" | "EET" | "EST" | "EST5EDT" | "Egypt" | "Eire" | "Etc/GMT" | "Etc/GMT+0" | "Etc/GMT+1" | "Etc/GMT+10" | "Etc/GMT+11" | "Etc/GMT+12" | "Etc/GMT+2" | "Etc/GMT+3" | "Etc/GMT+4" | "Etc/GMT+5" | "Etc/GMT+6" | "Etc/GMT+7" | "Etc/GMT+8" | "Etc/GMT+9" | "Etc/GMT-0" | "Etc/GMT-1" | "Etc/GMT-10" | "Etc/GMT-11" | "Etc/GMT-12" | "Etc/GMT-13" | "Etc/GMT-14" | "Etc/GMT-2" | "Etc/GMT-3" | "Etc/GMT-4" | "Etc/GMT-5" | "Etc/GMT-6" | "Etc/GMT-7" | "Etc/GMT-8" | "Etc/GMT-9" | "Etc/GMT0" | "Etc/Greenwich" | "Etc/UCT" | "Etc/UTC" | "Etc/Universal" | "Etc/Zulu" | "Europe/Amsterdam" | "Europe/Andorra" | "Europe/Astrakhan" | "Europe/Athens" | "Europe/Belfast" | "Europe/Belgrade" | "Europe/Berlin" | "Europe/Bratislava" | "Europe/Brussels" | "Europe/Bucharest" | "Europe/Budapest" | "Europe/Busingen" | "Europe/Chisinau" | "Europe/Copenhagen" | "Europe/Dublin" | "Europe/Gibraltar" | "Europe/Guernsey" | "Europe/Helsinki" | "Europe/Isle_of_Man" | "Europe/Istanbul" | "Europe/Jersey" | "Europe/Kaliningrad" | "Europe/Kiev" | "Europe/Kirov" | "Europe/Kyiv" | "Europe/Lisbon" | "Europe/Ljubljana" | "Europe/London" | "Europe/Luxembourg" | "Europe/Madrid" | "Europe/Malta" | "Europe/Mariehamn" | "Europe/Minsk" | "Europe/Monaco" | "Europe/Moscow" | "Europe/Nicosia" | "Europe/Oslo" | "Europe/Paris" | "Europe/Podgorica" | "Europe/Prague" | "Europe/Riga" | "Europe/Rome" | "Europe/Samara" | "Europe/San_Marino" | "Europe/Sarajevo" | "Europe/Saratov" | "Europe/Simferopol" | "Europe/Skopje" | "Europe/Sofia" | "Europe/Stockholm" | "Europe/Tallinn" | "Europe/Tirane" | "Europe/Tiraspol" | "Europe/Ulyanovsk" | "Europe/Uzhgorod" | "Europe/Vaduz" | "Europe/Vatican" | "Europe/Vienna" | "Europe/Vilnius" | "Europe/Volgograd" | "Europe/Warsaw" | "Europe/Zagreb" | "Europe/Zaporozhye" | "Europe/Zurich" | "GB" | "GB-Eire" | "GMT" | "GMT+0" | "GMT-0" | "GMT0" | "Greenwich" | "HST" | "Hongkong" | "Iceland" | "Indian/Antananarivo" | "Indian/Chagos" | "Indian/Christmas" | "Indian/Cocos" | "Indian/Comoro" | "Indian/Kerguelen" | "Indian/Mahe" | "Indian/Maldives" | "Indian/Mauritius" | "Indian/Mayotte" | "Indian/Reunion" | "Iran" | "Israel" | "Jamaica" | "Japan" | "Kwajalein" | "Libya" | "MET" | "MST" | "MST7MDT" | "Mexico/BajaNorte" | "Mexico/BajaSur" | "Mexico/General" | "NZ" | "NZ-CHAT" | "Navajo" | "PRC" | "PST8PDT" | "Pacific/Apia" | "Pacific/Auckland" | "Pacific/Bougainville" | "Pacific/Chatham" | "Pacific/Chuuk" | "Pacific/Easter" | "Pacific/Efate" | "Pacific/Enderbury" | "Pacific/Fakaofo" | "Pacific/Fiji" | "Pacific/Funafuti" | "Pacific/Galapagos" | "Pacific/Gambier" | "Pacific/Guadalcanal" | "Pacific/Guam" | "Pacific/Honolulu" | "Pacific/Johnston" | "Pacific/Kanton" | "Pacific/Kiritimati" | "Pacific/Kosrae" | "Pacific/Kwajalein" | "Pacific/Majuro" | "Pacific/Marquesas" | "Pacific/Midway" | "Pacific/Nauru" | "Pacific/Niue" | "Pacific/Norfolk" | "Pacific/Noumea" | "Pacific/Pago_Pago" | "Pacific/Palau" | "Pacific/Pitcairn" | "Pacific/Pohnpei" | "Pacific/Ponape" | "Pacific/Port_Moresby" | "Pacific/Rarotonga" | "Pacific/Saipan" | "Pacific/Samoa" | "Pacific/Tahiti" | "Pacific/Tarawa" | "Pacific/Tongatapu" | "Pacific/Truk" | "Pacific/Wake" | "Pacific/Wallis" | "Pacific/Yap" | "Poland" | "Portugal" | "ROC" | "ROK" | "Singapore" | "Turkey" | "UCT" | "US/Alaska" | "US/Aleutian" | "US/Arizona" | "US/Central" | "US/East-Indiana" | "US/Eastern" | "US/Hawaii" | "US/Indiana-Starke" | "US/Michigan" | "US/Mountain" | "US/Pacific" | "US/Samoa" | "UTC" | "Universal" | "W-SU" | "WET" | "Zulu"IANA timezone in which the trigger, its times and the filter dates are evaluated. Defaults to UTC.
trigger*requiredScheduleTriggerWhen the workflow runs. See ScheduleTrigger for the available trigger types.

Source​

NameType
id*requiredstring
model*required"Execution" | "TaskExecution" | "ActionExecution"
str*requiredstring
userStr*requiredstring

Task​

NameTypeDescription
action*requiredstringAction to execute, as <app id>:<function name>, referencing an action defined by an installed app.

Example: my.app:action_1
Pattern: ^[a-zA-Z_0-9.\-]+:[a-zA-Z_0-9.\-]+$
activestring | booleanSet to false to skip the task without running its action or checking its conditions; successors treat it as skipped. If a predecessor was discarded, the task is discarded instead. Use a boolean: non-empty strings such as "false" or a Jinja expression keep the task active. Only for STANDARD workflows.

Default: true
concurrencystring | numberMaximum number of loop iterations that run in parallel, or a Jinja expression. Requires withItems. Default: 1.
conditionsnull | TaskConditionOptionConditions that decide whether the task runs.
customSampleResultanySample result of this task. It replaces the action's sample result in expression previews that reference this task, and is used as this task's result when a later task is tested on its own. Has no effect on execution.
descriptionnull | stringFree-text description of the task. Has no effect on execution.
inputnull | TaskInputAction input. String values can contain Jinja expressions, e.g. {{ result('previous_task') }}, resolved when the task runs.
namenull | stringName of the task, always equal to its key in tasks. Set by the server: any value sent in a request is ignored and replaced with the key.
positionnull | TaskPositionPosition of the task in the workflow editor's graph. Has no effect on execution.
predecessorsnull | Array<string>Names of tasks in this workflow that must finish before this task can start. Tasks without predecessors start when the execution starts. Cycles are not allowed.
retrynull | TaskRetryOptionRetry behavior if the task fails. Default: no retries.
timeoutstring | numberTimeout of the task in seconds, or a Jinja expression. If not set: 86400 (24 hours) for approval tasks, 3600 (1 hour) for all others; the schema default applies to non-approval tasks only.

Default: 3600
waitBeforestring | numberDelay in seconds, or a Jinja expression, before the task starts once conditions of the task are met. Default: 0.

Default: 0
withItemsnull | stringRuns the action once per list item. Format: <item variable> in <list>, where the list is a Jinja expression or a literal list, e.g. host in {{ result('get_hosts').records }}. Use the item in input as {{ _.host }}. The task result is a list with one action result per item. With retry, it also contains the results of earlier attempts, so it can be longer than the list.

TaskConditionOption​

NameTypeDescription
customnull | stringJinja expression that must evaluate to true for the task to run. Evaluated once all predecessors have finished and their states are met.
elsenull | "SKIP" | "STOP"Reaction if conditions are not met. SKIP: the task is skipped, which satisfies OK conditions of successors. STOP: the task is discarded, and so are its successors. Default: STOP.
statesnull | TaskConditionOptionStatesRequired final state per predecessor, keyed by task name. Every key must also be in predecessors. SUCCESS, ERROR: exactly that state. OK: success or skipped. NOK: error or cancelled. ANY: any final state. Predecessors without an entry default to OK. If a predecessor was discarded, this task is discarded too, even with ANY.

TaskConditionOptionStates​

Required final state per predecessor, keyed by task name. Every key must also be in predecessors. SUCCESS, ERROR: exactly that state. OK: success or skipped. NOK: error or cancelled. ANY: any final state. Predecessors without an entry default to OK. If a predecessor was discarded, this task is discarded too, even with ANY.

type: Record<string, "SUCCESS" | "ERROR" | "ANY" | "OK" | "NOK">

TaskExecution​

NameTypeDescription
actionnull | string
active*requiredbooleanWhether task is active
conditionResultsTaskExecutionConditionResults
conditions*requiredTaskExecutionConditions
descriptionnull | string
endedAt*requirednull | Date
errorReasonnull | string
execution*requiredstringParent execution
id*requiredstring
inputTaskExecutionInput
isApprovalbooleanWhether this task is an approval request
name*requiredstring
packageVersionsnull | TaskExecutionPackageVersions
position*requiredTaskPosition
predecessors*requiredArray<string>
result*requiredany
runtime*requirednumber

Calculate the runtime of a task execution in seconds. If the task execution is not ended, runtime is calculated until now.

startedAt*requirednull | Date
state*required"ERROR" | "IDLE" | "RUNNING" | "SUCCESS" | "UNKNOWN" | "WAITING" | "CANCELLED" | "SKIPPED" | "DISCARDED" | "AWAITING_APPROVAL" | "POST_PROCESSING"
stateInfonull | string

TaskExecutionConditionResults​

type: Record<string, any>

TaskExecutionConditions​

type: Record<string, any>

TaskExecutionInput​

type: Record<string, any>

TaskExecutionPackageVersions​

type: Record<string, any>

TaskExecutions​

type: Record<string, TaskExecution>

TaskInput​

Action input. String values can contain Jinja expressions, e.g. {{ result('previous_task') }}, resolved when the task runs.

type: Record<string, any>

TaskPosition​

NameTypeDescription
x*requirednumberHorizontal grid position in the workflow graph. 0 is the center column; negative values are left of it.

Minimum: -1000
y*requirednumberVertical grid position in the workflow graph. 1 is the top row; values grow downwards.

Minimum: 1

TaskRetryOption​

NameTypeDescription
count*requiredstring | numberNumber of retries after a failed attempt, or a Jinja expression. The task runs at most count + 1 times.
delaystring | numberDelay in seconds before each retry, or a Jinja expression. Default: 0.
failedLoopIterationsOnlybooleanOnly for loop tasks (withItems). If true, a retry runs only the iterations that failed; if false, it runs the whole loop again. Default: true.

Default: true

TaskTransition​

The TaskTransitionSerializer inlines the related workflow object and list of variables. Runtime is added as a property and calculated using the started_at and ended_at timestamps.

NameType
id*requiredstring
taskNameFrom*requiredstring
taskNameTo*requiredstring

TaskTransitions​

type: Record<string, TaskTransition>

Tasks​

type: Record<string, Task>

Throttle​

NameType
isLimitHit*requiredboolean
limitEvents*requiredThrottleLimitEvents

ThrottleLimitEvent​

NameType
limit*requirednumber
timeLeftInSeconds*requirednumber
timestamp*requiredDate
type*required"workflow" | "event_trigger"

ThrottleLimitEvents​

type: Array<ThrottleLimitEvent>

ThrottleRequest​

NameType
isLimitHit*requiredboolean

TimeTrigger​

Runs the workflow once a day at a fixed time, evaluated in the schedule's timezone.

The simplest choice for a daily run. It follows the local wall-clock time across daylight saving changes. Combine it with the schedule's rule or filterParameters to restrict the days it runs on.

NameTypeDescription
time*requiredstringTime of day in 24-hour HH:MM format.
Pattern: ^([0-1]\d|2[0-3]):[0-5]\d$
type*required"time"

TrashedWorkflow​

NameTypeDescription
deletionInfo*requiredTrashedWorkflowDeletionInfo
id*requiredstring
isDeployed*requiredboolean
purgeAt*requiredDateWhen the workflow will be automatically and permanently deleted after the retention period.
title*requiredstring

TrashedWorkflowDeletionInfo​

NameTypeDescription
deletedBy*requiredstringIdentifier of the user who moved the workflow to trash.
deletedTime*requiredDateWhen the workflow was moved to trash.

Trigger​

NameType
eventTriggernull | EventTrigger
schedulenull | Schedule

TriggerExport​

NameType
eventTriggernull | EventTriggerExport
schedulenull | ScheduleExport

TriggerManualDetail​

NameType
userIdnull | string

TriggerRequest​

NameType
eventTriggernull | EventTriggerRequest
schedulenull | ScheduleRequest

TriggerSubTypeDetail​

NameType
subTypenull | "CUSTOM" | "DAVIS_PROBLEM" | "DAVIS_EVENT" | "FIXED_INTERVAL" | "TIME_OF_DAY" | "CRON" | "ONCE"

TriggerWorkflowDetail​

NameType
isTaskTestboolean
workflowTitlenull | string

UserSettings​

NameType
groups*requiredArray<string>

VersionResponse​

NameType
version*requiredstring

WebhookHandler​

NameTypeDescription
active*requiredboolean
connectionId*requiredstringThe connection ID that this webhook corresponds to.
eventSignatureHeader*requiredstring
hmacSecretnull | string
hmacSignatureEncoding"hex" | "base64"
hmacSignaturePrefixnull | string
slackSigningSecretnull | string
staticSecretnull | string
validationMethod*required"static" | "slack" | "hmac-sha256"
webhookUrl*requiredstring

WebhookHandlerList​

NameTypeDescription
active*requiredboolean
connectionId*requiredstringThe connection ID that this webhook corresponds to.
webhookUrl*requiredstring

WebhookHandlerWrite​

NameType
active*requiredboolean
eventSignatureHeader*requiredstring
hmacSecretnull | string
hmacSignatureEncoding"hex" | "base64"
hmacSignaturePrefixnull | string
slackSigningSecretnull | string
staticSecretnull | string
validationMethod*required"static" | "slack" | "hmac-sha256"

WeekdaysNames​

type: Array<"MO" | "TU" | "WE" | "TH" | "FR" | "SA" | "SU">

WeekdaysValues​

type: Array<1 | 2 | 3 | 4 | 5 | 6 | 7>

Workflow​

Workflow can define multiple tasks and have at most one automatic trigger. In undeployed state, a workflow is not billed and its automatic trigger won't be running.

NameTypeDescription
actornull | stringID of the user or service user whose permissions every task runs under. Defaults to the requesting user on create. For non-admins, the actor can only be themselves or a service user they have the iam:service-users:use permission for: any other user, including a current human actor kept by omitting this field, is replaced by the requesting user, and any other service user is rejected. Admins can set any actor.
descriptionstringDescription of the workflow.
guidenull | stringMarkdown guide explaining prerequisites and configuration steps (max. 10,000 characters).
hourlyExecutionLimitnull | numberMaximum number of executions of this workflow per hour (at least 1). Runs started from the Workflows app do not count.

Default: 1000
Minimum: 1
id*requiredstringWorkflow ID. Generated when not provided on create.
inputWorkflowInputDefault workflow input. Input provided when an execution starts, e.g. by a calling Run workflow task, is merged on top (top-level keys). Tasks read it with the Jinja function input().
isDeployedbooleanWhether the workflow is live. Only a live workflow is started by its trigger, and only a live STANDARD workflow consumes workflow hours. Otherwise it can only be run from the Workflows app.

Default: true
isPrivatebooleanIf true, only the owner (the user, or all members of the owning group) and admins can access the workflow. If false, all users with the required IAM permissions can.

Default: true
lastExecution*requirednull | ExecutionMost recent execution of the workflow.
modificationInfo*requiredModificationInfoWho created and last modified the workflow, and when.
ownerstringID of the user or group owning the workflow. If omitted, defaults to the requesting user on create and keeps the current owner on update.
ownerType"GROUP" | "USER"Whether owner is a user or a group.
resultnull | stringJinja expression that defines the workflow result, evaluated once the execution succeeds. It must evaluate to a JSON object or array. If it evaluates to anything else or fails, the execution ends in ERROR. For a subworkflow, this is the result of the Run workflow task that called it. Not allowed for SIMPLE workflows.
schemaVersionnumberVersion of the workflow definition format.

Minimum: -2147483648
tasksTasksTasks of the workflow, keyed by task name. Tasks run in sequence or in parallel, as defined by the predecessors and conditions of each task.
throttleThrottleEvent trigger limit. isLimitHit is true once the event trigger fired more often within an hour than the environment allows (1000 by default), and stays true until reset. Setting it to false resets both this limit and the hourly execution limit, which is not available on trial environments. Activating, deactivating or removing the event trigger also resets it.
title*requiredstringDisplay name of the workflow.
triggerTriggerTrigger (schedule or event) starting the live workflow automatically. Without it, the workflow only runs on demand.
triggerType*requiredstringKind of trigger starting the workflow, derived from trigger.
type"STANDARD" | "SIMPLE"STANDARD workflows support multiple tasks and can be subworkflows. SIMPLE workflows are limited to one task without conditions, waitBefore, withItems, retry, concurrency or timeout, do not directly consume workflow hours, cannot use the Run JavaScript or Run workflow actions, fail when running an approval action, and log only execution metadata.
unacknowledgedSkippedScheduleAtnull | DateSet by the scheduler when it skipped a scheduled run because it could not be processed in time. Clients can only reset it to null to acknowledge the skip; other values are ignored.
version*requirednumberVersion of the deployed workflow, incremented on every update. Always 0 while the workflow is not deployed.
workflowLimit*requiredWorkflowLimitWhether the hourly execution limit is currently hit.

WorkflowCreate​

Workflow can define multiple tasks and have at most one automatic trigger. In undeployed state, a workflow is not billed and its automatic trigger won't be running.

NameTypeDescription
actornull | stringID of the user or service user whose permissions every task runs under. Defaults to the requesting user on create. For non-admins, the actor can only be themselves or a service user they have the iam:service-users:use permission for: any other user, including a current human actor kept by omitting this field, is replaced by the requesting user, and any other service user is rejected. Admins can set any actor.
basedOnTemplatenull | BasedOnTemplateTemplate the workflow was created from. Only used for usage statistics.
descriptionstringDescription of the workflow.
guidenull | stringMarkdown guide explaining prerequisites and configuration steps (max. 10,000 characters).
hourlyExecutionLimitnull | numberMaximum number of executions of this workflow per hour (at least 1). Runs started from the Workflows app do not count.

Default: 1000
Minimum: 1
idstringWorkflow ID. Generated when not provided on create.
inputWorkflowCreateInputDefault workflow input. Input provided when an execution starts, e.g. by a calling Run workflow task, is merged on top (top-level keys). Tasks read it with the Jinja function input().
isDeployedbooleanWhether the workflow is live. Only a live workflow is started by its trigger, and only a live STANDARD workflow consumes workflow hours. Otherwise it can only be run from the Workflows app.

Default: true
isPrivatebooleanIf true, only the owner (the user, or all members of the owning group) and admins can access the workflow. If false, all users with the required IAM permissions can.

Default: true
ownerstringID of the user or group owning the workflow. If omitted, defaults to the requesting user on create and keeps the current owner on update.
ownerType"GROUP" | "USER"Whether owner is a user or a group.
resultnull | stringJinja expression that defines the workflow result, evaluated once the execution succeeds. It must evaluate to a JSON object or array. If it evaluates to anything else or fails, the execution ends in ERROR. For a subworkflow, this is the result of the Run workflow task that called it. Not allowed for SIMPLE workflows.
schemaVersionnumberVersion of the workflow definition format.

Minimum: -2147483648
tasksTasksTasks of the workflow, keyed by task name. Tasks run in sequence or in parallel, as defined by the predecessors and conditions of each task.
throttleThrottleRequestEvent trigger limit. isLimitHit is true once the event trigger fired more often within an hour than the environment allows (1000 by default), and stays true until reset. Setting it to false resets both this limit and the hourly execution limit, which is not available on trial environments. Activating, deactivating or removing the event trigger also resets it.
title*requiredstringDisplay name of the workflow.
triggerTriggerRequestTrigger (schedule or event) starting the live workflow automatically. Without it, the workflow only runs on demand.
type"STANDARD" | "SIMPLE"STANDARD workflows support multiple tasks and can be subworkflows. SIMPLE workflows are limited to one task without conditions, waitBefore, withItems, retry, concurrency or timeout, do not directly consume workflow hours, cannot use the Run JavaScript or Run workflow actions, fail when running an approval action, and log only execution metadata.
unacknowledgedSkippedScheduleAtnull | DateSet by the scheduler when it skipped a scheduled run because it could not be processed in time. Clients can only reset it to null to acknowledge the skip; other values are ignored.

WorkflowCreateInput​

Default workflow input. Input provided when an execution starts, e.g. by a calling Run workflow task, is merged on top (top-level keys). Tasks read it with the Jinja function input().

type: Record<string, any>

WorkflowDefinitionTemplate​

NameTypeDescription
descriptionstringDescription of the workflow.
guidenull | stringMarkdown guide explaining prerequisites and configuration steps (max. 10,000 characters).
hourlyExecutionLimitnull | numberMaximum number of executions of this workflow per hour (at least 1). Runs started from the Workflows app do not count.

Default: 1000
Minimum: 1
inputWorkflowDefinitionTemplateInputDefault workflow input. Input provided when an execution starts, e.g. by a calling Run workflow task, is merged on top (top-level keys). Tasks read it with the Jinja function input().
resultnull | stringJinja expression that defines the workflow result, evaluated once the execution succeeds. It must evaluate to a JSON object or array. If it evaluates to anything else or fails, the execution ends in ERROR. For a subworkflow, this is the result of the Run workflow task that called it. Not allowed for SIMPLE workflows.
schemaVersionnumberVersion of the workflow definition format.

Minimum: -2147483648
tasksTasksTasks of the workflow, keyed by task name. Tasks run in sequence or in parallel, as defined by the predecessors and conditions of each task.
title*requiredstringDisplay name of the workflow.
triggerTriggerExportTrigger (schedule or event) starting the live workflow automatically. Without it, the workflow only runs on demand.
type"STANDARD" | "SIMPLE"STANDARD workflows support multiple tasks and can be subworkflows. SIMPLE workflows are limited to one task without conditions, waitBefore, withItems, retry, concurrency or timeout, do not directly consume workflow hours, cannot use the Run JavaScript or Run workflow actions, fail when running an approval action, and log only execution metadata.

WorkflowDefinitionTemplateInput​

Default workflow input. Input provided when an execution starts, e.g. by a calling Run workflow task, is merged on top (top-level keys). Tasks read it with the Jinja function input().

type: Record<string, any>

WorkflowExport​

NameTypeDescription
actornull | stringID of the user or service user whose permissions every task runs under. Defaults to the requesting user on create. For non-admins, the actor can only be themselves or a service user they have the iam:service-users:use permission for: any other user, including a current human actor kept by omitting this field, is replaced by the requesting user, and any other service user is rejected. Admins can set any actor.
descriptionstringDescription of the workflow.
guidenull | stringMarkdown guide explaining prerequisites and configuration steps (max. 10,000 characters).
hourlyExecutionLimitnull | numberMaximum number of executions of this workflow per hour (at least 1). Runs started from the Workflows app do not count.

Default: 1000
Minimum: 1
id*requiredstringWorkflow ID. Generated when not provided on create.
inputWorkflowExportInputDefault workflow input. Input provided when an execution starts, e.g. by a calling Run workflow task, is merged on top (top-level keys). Tasks read it with the Jinja function input().
isPrivatebooleanIf true, only the owner (the user, or all members of the owning group) and admins can access the workflow. If false, all users with the required IAM permissions can.

Default: true
ownerstringID of the user or group owning the workflow. If omitted, defaults to the requesting user on create and keeps the current owner on update.
ownerType"GROUP" | "USER"Whether owner is a user or a group.
resultnull | stringJinja expression that defines the workflow result, evaluated once the execution succeeds. It must evaluate to a JSON object or array. If it evaluates to anything else or fails, the execution ends in ERROR. For a subworkflow, this is the result of the Run workflow task that called it. Not allowed for SIMPLE workflows.
schemaVersionnumberVersion of the workflow definition format.

Minimum: -2147483648
tasksTasksTasks of the workflow, keyed by task name. Tasks run in sequence or in parallel, as defined by the predecessors and conditions of each task.
title*requiredstringDisplay name of the workflow.
triggerTriggerExportTrigger (schedule or event) starting the live workflow automatically. Without it, the workflow only runs on demand.
type"STANDARD" | "SIMPLE"STANDARD workflows support multiple tasks and can be subworkflows. SIMPLE workflows are limited to one task without conditions, waitBefore, withItems, retry, concurrency or timeout, do not directly consume workflow hours, cannot use the Run JavaScript or Run workflow actions, fail when running an approval action, and log only execution metadata.

WorkflowExportInput​

Default workflow input. Input provided when an execution starts, e.g. by a calling Run workflow task, is merged on top (top-level keys). Tasks read it with the Jinja function input().

type: Record<string, any>

WorkflowInput​

Default workflow input. Input provided when an execution starts, e.g. by a calling Run workflow task, is merged on top (top-level keys). Tasks read it with the Jinja function input().

type: Record<string, any>

WorkflowLimit​

NameType
isActive*requiredboolean
throttleThrottleLimitEvent

WorkflowList​

NameTypeDescription
actornull | stringID of the user or service user whose permissions every task runs under. Defaults to the requesting user on create. For non-admins, the actor can only be themselves or a service user they have the iam:service-users:use permission for: any other user, including a current human actor kept by omitting this field, is replaced by the requesting user, and any other service user is rejected. Admins can set any actor.
descriptionstringDescription of the workflow.
hourlyExecutionLimitnull | numberMaximum number of executions of this workflow per hour (at least 1). Runs started from the Workflows app do not count.
id*requiredstringWorkflow ID. Generated when not provided on create.
inputWorkflowListInputDefault workflow input. Input provided when an execution starts, e.g. by a calling Run workflow task, is merged on top (top-level keys). Tasks read it with the Jinja function input().
isDeployedbooleanWhether the workflow is live. Only a live workflow is started by its trigger, and only a live STANDARD workflow consumes workflow hours. Otherwise it can only be run from the Workflows app.
isPrivatebooleanIf true, only the owner (the user, or all members of the owning group) and admins can access the workflow. If false, all users with the required IAM permissions can.
lastExecution*requirednull | ExecutionMost recent execution of the workflow.
modificationInfo*requiredModificationInfoWho created and last modified the workflow, and when.
ownerstringID of the user or group owning the workflow. If omitted, defaults to the requesting user on create and keeps the current owner on update.
ownerType"GROUP" | "USER"Whether owner is a user or a group.
resultnull | stringJinja expression that defines the workflow result, evaluated once the execution succeeds. It must evaluate to a JSON object or array. If it evaluates to anything else or fails, the execution ends in ERROR. For a subworkflow, this is the result of the Run workflow task that called it. Not allowed for SIMPLE workflows.
schemaVersionnumberVersion of the workflow definition format.
tasksTasksTasks of the workflow, keyed by task name. Tasks run in sequence or in parallel, as defined by the predecessors and conditions of each task.
throttleThrottleEvent trigger limit. isLimitHit is true once the event trigger fired more often within an hour than the environment allows (1000 by default), and stays true until reset. Setting it to false resets both this limit and the hourly execution limit, which is not available on trial environments. Activating, deactivating or removing the event trigger also resets it.
title*requiredstringDisplay name of the workflow.
triggerTriggerTrigger (schedule or event) starting the live workflow automatically. Without it, the workflow only runs on demand.
triggerType*requiredstringKind of trigger starting the workflow, derived from trigger.
type"STANDARD" | "SIMPLE"STANDARD workflows support multiple tasks and can be subworkflows. SIMPLE workflows are limited to one task without conditions, waitBefore, withItems, retry, concurrency or timeout, do not directly consume workflow hours, cannot use the Run JavaScript or Run workflow actions, fail when running an approval action, and log only execution metadata.
unacknowledgedSkippedScheduleAtnull | DateSet by the scheduler when it skipped a scheduled run because it could not be processed in time. Clients can only reset it to null to acknowledge the skip; other values are ignored.
version*requirednumberVersion of the deployed workflow, incremented on every update. Always 0 while the workflow is not deployed.
workflowLimit*requiredWorkflowLimitWhether the hourly execution limit is currently hit.

WorkflowListInput​

Default workflow input. Input provided when an execution starts, e.g. by a calling Run workflow task, is merged on top (top-level keys). Tasks read it with the Jinja function input().

type: Record<string, any>

WorkflowTemplate​

NameType
metadata*requiredWorkflowTemplateMetadata
workflow*requiredWorkflowDefinitionTemplate

WorkflowTemplateApp​

NameType
id*requiredstring
version*requiredstring

WorkflowTemplateConnectionInput​

NameTypeDescription
connectionFilternull | stringOptional filter expression to limit the connections shown in this template input of type 'connection'
schema*requiredstring
targets*requiredArray<string>
type*required"connection"

WorkflowTemplateDependencies​

NameType
apps*requiredArray<WorkflowTemplateApp>

WorkflowTemplateMetadata​

NameType
dependencies*requiredWorkflowTemplateDependencies
inputs*requiredArray<WorkflowTemplateInput>
version*requiredstring

WorkflowTemplateUserInput​

NameTypeDescription
dataType*required"string"Data type of the entered value. Only 'string' is supported.
hintnull | stringText shown below the input field.
initialValuenull | string
label*requiredstring
placeholdernull | string
targets*requiredArray<string>
type*required"userInput"

WorkflowThrottlesResetStatus​

NameType
success*requiredboolean

WorkflowUpdate​

Workflow can define multiple tasks and have at most one automatic trigger. In undeployed state, a workflow is not billed and its automatic trigger won't be running.

NameTypeDescription
actornull | stringID of the user or service user whose permissions every task runs under. Defaults to the requesting user on create. For non-admins, the actor can only be themselves or a service user they have the iam:service-users:use permission for: any other user, including a current human actor kept by omitting this field, is replaced by the requesting user, and any other service user is rejected. Admins can set any actor.
descriptionstringDescription of the workflow.
guidenull | stringMarkdown guide explaining prerequisites and configuration steps (max. 10,000 characters).
hourlyExecutionLimitnull | numberMaximum number of executions of this workflow per hour (at least 1). Runs started from the Workflows app do not count.

Default: 1000
Minimum: 1
inputWorkflowUpdateInputDefault workflow input. Input provided when an execution starts, e.g. by a calling Run workflow task, is merged on top (top-level keys). Tasks read it with the Jinja function input().
isDeployedbooleanWhether the workflow is live. Only a live workflow is started by its trigger, and only a live STANDARD workflow consumes workflow hours. Otherwise it can only be run from the Workflows app.

Default: true
isPrivatebooleanIf true, only the owner (the user, or all members of the owning group) and admins can access the workflow. If false, all users with the required IAM permissions can.

Default: true
ownerstringID of the user or group owning the workflow. If omitted, defaults to the requesting user on create and keeps the current owner on update.
ownerType"GROUP" | "USER"Whether owner is a user or a group.
resultnull | stringJinja expression that defines the workflow result, evaluated once the execution succeeds. It must evaluate to a JSON object or array. If it evaluates to anything else or fails, the execution ends in ERROR. For a subworkflow, this is the result of the Run workflow task that called it. Not allowed for SIMPLE workflows.
schemaVersionnumberVersion of the workflow definition format.

Minimum: -2147483648
tasksTasksTasks of the workflow, keyed by task name. Tasks run in sequence or in parallel, as defined by the predecessors and conditions of each task.
throttleThrottleRequestEvent trigger limit. isLimitHit is true once the event trigger fired more often within an hour than the environment allows (1000 by default), and stays true until reset. Setting it to false resets both this limit and the hourly execution limit, which is not available on trial environments. Activating, deactivating or removing the event trigger also resets it.
titlestringDisplay name of the workflow.
triggerTriggerRequestTrigger (schedule or event) starting the live workflow automatically. Without it, the workflow only runs on demand.
typenull | "STANDARD" | "SIMPLE"STANDARD workflows support multiple tasks and can be subworkflows. SIMPLE workflows are limited to one task without conditions, waitBefore, withItems, retry, concurrency or timeout, do not directly consume workflow hours, cannot use the Run JavaScript or Run workflow actions, fail when running an approval action, and log only execution metadata.
unacknowledgedSkippedScheduleAtnull | DateSet by the scheduler when it skipped a scheduled run because it could not be processed in time. Clients can only reset it to null to acknowledge the skip; other values are ignored.

WorkflowUpdateInput​

Default workflow input. Input provided when an execution starts, e.g. by a calling Run workflow task, is merged on top (top-level keys). Tasks read it with the Jinja function input().

type: Record<string, any>

EventTriggerConfig​

type: EventQueryTriggerConfig | DavisProblemTriggerConfig | DavisEventTriggerConfig

RulePreviewCreate​

type: RRulePreviewRequest | GroupingRulePreviewRequest | FixedOffsetRulePreviewRequest | RelativeOffsetRulePreviewRequest

ScheduleTrigger​

When the workflow runs. type selects the variant: time for a daily run at a fixed time, interval for a run every N minutes, cron for other recurring patterns and once for a single run.

type: CronTrigger | TimeTrigger | IntervalTrigger | OnceTrigger

TriggerTypeDetail​

type: TriggerSubTypeDetail | TriggerWorkflowDetail | TriggerManualDetail

Weekdays​

type: WeekdaysNames | WeekdaysValues

WorkflowTemplateInput​

type: WorkflowTemplateConnectionInput | WorkflowTemplateUserInput

Enums​

ActionExecutionState​

⚠️ Deprecated Use literal values.

Enum keys​

Error | Idle | Running | Success | Suspended | Unknown

Byday​

⚠️ Deprecated Use literal values.

Enum keys​

Fr | Mo | Sa | Su | Th | Tu | We

Byworkday​

⚠️ Deprecated Use literal values.

The type of days on which the recurrence will be applied.

Enum keys​

Holidays | Off | Working

CronTriggerType​

⚠️ Deprecated Use literal values.

Enum keys​

Cron

DavisEventNameMatch​

⚠️ Deprecated Use literal values.

Davis event name must equal or contain the string provided.

Enum keys​

Contains | Equals

DavisEventTriggerConfigType​

⚠️ Deprecated Use literal values.

Enum keys​

DavisEvent

DavisProblemConfigProblemOpenDuration​

⚠️ Deprecated Use literal values.

Minimum problem duration in minutes before the trigger fires.

Enum keys​

DavisProblemConfigProblemOpenDuration_10 | DavisProblemConfigProblemOpenDuration_10080 | DavisProblemConfigProblemOpenDuration_120 | DavisProblemConfigProblemOpenDuration_1440 | DavisProblemConfigProblemOpenDuration_15 | DavisProblemConfigProblemOpenDuration_240 | DavisProblemConfigProblemOpenDuration_30 | DavisProblemConfigProblemOpenDuration_5 | DavisProblemConfigProblemOpenDuration_60

DavisProblemTriggerConfigType​

⚠️ Deprecated Use literal values.

Enum keys​

DavisProblem

Direction​

⚠️ Deprecated Use literal values.

Enum keys​

Next | Previous

Else​

⚠️ Deprecated Use literal values.

Reaction if conditions are not met. SKIP: the task is skipped, which satisfies OK conditions of successors. STOP: the task is discarded, and so are its successors. Default: STOP.

Enum keys​

Skip | Stop

EntityTagsMatch​

⚠️ Deprecated Use literal values.

Event must match all or any of the entity tags.

Enum keys​

All | Any

EventLogState​

⚠️ Deprecated Use literal values.

Enum keys​

Cancelled | Deactivated | Discarded | Error | Idle | Paused | Running | Skipped | Success | Waiting

EventQueryTriggerConfigType​

⚠️ Deprecated Use literal values.

Enum keys​

Event

EventType​

⚠️ Deprecated Use literal values.

Grail event type.

Enum keys​

Bizevents | DtSystemEvents | Events | SecurityEvents

ExecutionState​

⚠️ Deprecated Use literal values.

Enum keys​

Cancelled | Error | Paused | Running | Success | Unknown

FixedOffsetRulePreviewRuleType​

⚠️ Deprecated Use literal values.

Enum keys​

FixedOffset

Freq​

⚠️ Deprecated Use literal values.

Enum keys​

Daily | Hourly | Minutely | Monthly | Secondly | Weekly | Yearly

GetWorkflowsQueryOwnerType​

⚠️ Deprecated Use literal values.

Enum keys​

Group | User

GroupingRulePreviewRuleType​

⚠️ Deprecated Use literal values.

Enum keys​

Grouping

HmacSignatureEncoding​

⚠️ Deprecated Use literal values.

Enum keys​

Base64 | Hex

IntervalTriggerType​

⚠️ Deprecated Use literal values.

Enum keys​

Interval

MaintenanceWindowTriggerBehaviorType​

⚠️ Deprecated Use literal values.

Specifies when to trigger based on maintenance window status.

Enum keys​

Always | Inside | Outside

Model​

⚠️ Deprecated Use literal values.

Enum keys​

ActionExecution | Execution | TaskExecution

OnceTriggerType​

⚠️ Deprecated Use literal values.

Enum keys​

Once

OwnerType​

⚠️ Deprecated Use literal values.

Enum keys​

Group | User

RRulePreviewRuleType​

⚠️ Deprecated Use literal values.

Enum keys​

Rrule

RelativeOffsetRulePreviewRuleType​

⚠️ Deprecated Use literal values.

Enum keys​

RelativeOffset

RuleType​

⚠️ Deprecated Use literal values.

Enum keys​

FixedOffset | Grouping | RelativeOffset | Rrule

ScheduleInputType​

⚠️ Deprecated Use literal values.

Enum keys​

Static

TaskExecutionState​

⚠️ Deprecated Use literal values.

Enum keys​

AwaitingApproval | Cancelled | Discarded | Error | Idle | PostProcessing | Running | Skipped | Success | Unknown | Waiting

ThrottleLimitEventType​

⚠️ Deprecated Use literal values.

Enum keys​

EventTrigger | Workflow

TimeTriggerType​

⚠️ Deprecated Use literal values.

Enum keys​

Time

Timezone​

⚠️ Deprecated Use literal values.

IANA timezone name, e.g. UTC or Europe/Vienna.

Enum keys​

AfricaAbidjan | AfricaAccra | AfricaAddisAbaba | AfricaAlgiers | AfricaAsmara | AfricaAsmera | AfricaBamako | AfricaBangui | AfricaBanjul | AfricaBissau | AfricaBlantyre | AfricaBrazzaville | AfricaBujumbura | AfricaCairo | AfricaCasablanca | AfricaCeuta | AfricaConakry | AfricaDakar | AfricaDarEsSalaam | AfricaDjibouti | AfricaDouala | AfricaElAaiun | AfricaFreetown | AfricaGaborone | AfricaHarare | AfricaJohannesburg | AfricaJuba | AfricaKampala | AfricaKhartoum | AfricaKigali | AfricaKinshasa | AfricaLagos | AfricaLibreville | AfricaLome | AfricaLuanda | AfricaLubumbashi | AfricaLusaka | AfricaMalabo | AfricaMaputo | AfricaMaseru | AfricaMbabane | AfricaMogadishu | AfricaMonrovia | AfricaNairobi | AfricaNdjamena | AfricaNiamey | AfricaNouakchott | AfricaOuagadougou | AfricaPortoNovo | AfricaSaoTome | AfricaTimbuktu | AfricaTripoli | AfricaTunis | AfricaWindhoek | AmericaAdak | AmericaAnchorage | AmericaAnguilla | AmericaAntigua | AmericaAraguaina | AmericaArgentinaBuenosAires | AmericaArgentinaCatamarca | AmericaArgentinaComodRivadavia | AmericaArgentinaCordoba | AmericaArgentinaJujuy | AmericaArgentinaLaRioja | AmericaArgentinaMendoza | AmericaArgentinaRioGallegos | AmericaArgentinaSalta | AmericaArgentinaSanJuan | AmericaArgentinaSanLuis | AmericaArgentinaTucuman | AmericaArgentinaUshuaia | AmericaAruba | AmericaAsuncion | AmericaAtikokan | AmericaAtka | AmericaBahia | AmericaBahiaBanderas | AmericaBarbados | AmericaBelem | AmericaBelize | AmericaBlancSablon | AmericaBoaVista | AmericaBogota | AmericaBoise | AmericaBuenosAires | AmericaCambridgeBay | AmericaCampoGrande | AmericaCancun | AmericaCaracas | AmericaCatamarca | AmericaCayenne | AmericaCayman | AmericaChicago | AmericaChihuahua | AmericaCiudadJuarez | AmericaCoralHarbour | AmericaCordoba | AmericaCostaRica | AmericaCoyhaique | AmericaCreston | AmericaCuiaba | AmericaCuracao | AmericaDanmarkshavn | AmericaDawson | AmericaDawsonCreek | AmericaDenver | AmericaDetroit | AmericaDominica | AmericaEdmonton | AmericaEirunepe | AmericaElSalvador | AmericaEnsenada | AmericaFortNelson | AmericaFortWayne | AmericaFortaleza | AmericaGlaceBay | AmericaGodthab | AmericaGooseBay | AmericaGrandTurk | AmericaGrenada | AmericaGuadeloupe | AmericaGuatemala | AmericaGuayaquil | AmericaGuyana | AmericaHalifax | AmericaHavana | AmericaHermosillo | AmericaIndianaIndianapolis | AmericaIndianaKnox | AmericaIndianaMarengo | AmericaIndianaPetersburg | AmericaIndianaTellCity | AmericaIndianaVevay | AmericaIndianaVincennes | AmericaIndianaWinamac | AmericaIndianapolis | AmericaInuvik | AmericaIqaluit | AmericaJamaica | AmericaJujuy | AmericaJuneau | AmericaKentuckyLouisville | AmericaKentuckyMonticello | AmericaKnoxIn | AmericaKralendijk | AmericaLaPaz | AmericaLima | AmericaLosAngeles | AmericaLouisville | AmericaLowerPrinces | AmericaMaceio | AmericaManagua | AmericaManaus | AmericaMarigot | AmericaMartinique | AmericaMatamoros | AmericaMazatlan | AmericaMendoza | AmericaMenominee | AmericaMerida | AmericaMetlakatla | AmericaMexicoCity | AmericaMiquelon | AmericaMoncton | AmericaMonterrey | AmericaMontevideo | AmericaMontreal | AmericaMontserrat | AmericaNassau | AmericaNewYork | AmericaNipigon | AmericaNome | AmericaNoronha | AmericaNorthDakotaBeulah | AmericaNorthDakotaCenter | AmericaNorthDakotaNewSalem | AmericaNuuk | AmericaOjinaga | AmericaPanama | AmericaPangnirtung | AmericaParamaribo | AmericaPhoenix | AmericaPortAuPrince | AmericaPortOfSpain | AmericaPortoAcre | AmericaPortoVelho | AmericaPuertoRico | AmericaPuntaArenas | AmericaRainyRiver | AmericaRankinInlet | AmericaRecife | AmericaRegina | AmericaResolute | AmericaRioBranco | AmericaRosario | AmericaSantaIsabel | AmericaSantarem | AmericaSantiago | AmericaSantoDomingo | AmericaSaoPaulo | AmericaScoresbysund | AmericaShiprock | AmericaSitka | AmericaStBarthelemy | AmericaStJohns | AmericaStKitts | AmericaStLucia | AmericaStThomas | AmericaStVincent | AmericaSwiftCurrent | AmericaTegucigalpa | AmericaThule | AmericaThunderBay | AmericaTijuana | AmericaToronto | AmericaTortola | AmericaVancouver | AmericaVirgin | AmericaWhitehorse | AmericaWinnipeg | AmericaYakutat | AmericaYellowknife | AntarcticaCasey | AntarcticaDavis | AntarcticaDumontDUrville | AntarcticaMacquarie | AntarcticaMawson | AntarcticaMcMurdo | AntarcticaPalmer | AntarcticaRothera | AntarcticaSouthPole | AntarcticaSyowa | AntarcticaTroll | AntarcticaVostok | ArcticLongyearbyen | AsiaAden | AsiaAlmaty | AsiaAmman | AsiaAnadyr | AsiaAqtau | AsiaAqtobe | AsiaAshgabat | AsiaAshkhabad | AsiaAtyrau | AsiaBaghdad | AsiaBahrain | AsiaBaku | AsiaBangkok | AsiaBarnaul | AsiaBeirut | AsiaBishkek | AsiaBrunei | AsiaCalcutta | AsiaChita | AsiaChoibalsan | AsiaChongqing | AsiaChungking | AsiaColombo | AsiaDacca | AsiaDamascus | AsiaDhaka | AsiaDili | AsiaDubai | AsiaDushanbe | AsiaFamagusta | AsiaGaza | AsiaHarbin | AsiaHebron | AsiaHoChiMinh | AsiaHongKong | AsiaHovd | AsiaIrkutsk | AsiaIstanbul | AsiaJakarta | AsiaJayapura | AsiaJerusalem | AsiaKabul | AsiaKamchatka | AsiaKarachi | AsiaKashgar | AsiaKathmandu | AsiaKatmandu | AsiaKhandyga | AsiaKolkata | AsiaKrasnoyarsk | AsiaKualaLumpur | AsiaKuching | AsiaKuwait | AsiaMacao | AsiaMacau | AsiaMagadan | AsiaMakassar | AsiaManila | AsiaMuscat | AsiaNicosia | AsiaNovokuznetsk | AsiaNovosibirsk | AsiaOmsk | AsiaOral | AsiaPhnomPenh | AsiaPontianak | AsiaPyongyang | AsiaQatar | AsiaQostanay | AsiaQyzylorda | AsiaRangoon | AsiaRiyadh | AsiaSaigon | AsiaSakhalin | AsiaSamarkand | AsiaSeoul | AsiaShanghai | AsiaSingapore | AsiaSrednekolymsk | AsiaTaipei | AsiaTashkent | AsiaTbilisi | AsiaTehran | AsiaTelAviv | AsiaThimbu | AsiaThimphu | AsiaTokyo | AsiaTomsk | AsiaUjungPandang | AsiaUlaanbaatar | AsiaUlanBator | AsiaUrumqi | AsiaUstNera | AsiaVientiane | AsiaVladivostok | AsiaYakutsk | AsiaYangon | AsiaYekaterinburg | AsiaYerevan | AtlanticAzores | AtlanticBermuda | AtlanticCanary | AtlanticCapeVerde | AtlanticFaeroe | AtlanticFaroe | AtlanticJanMayen | AtlanticMadeira | AtlanticReykjavik | AtlanticSouthGeorgia | AtlanticStHelena | AtlanticStanley | AustraliaAct | AustraliaAdelaide | AustraliaBrisbane | AustraliaBrokenHill | AustraliaCanberra | AustraliaCurrie | AustraliaDarwin | AustraliaEucla | AustraliaHobart | AustraliaLhi | AustraliaLindeman | AustraliaLordHowe | AustraliaMelbourne | AustraliaNorth | AustraliaNsw | AustraliaPerth | AustraliaQueensland | AustraliaSouth | AustraliaSydney | AustraliaTasmania | AustraliaVictoria | AustraliaWest | AustraliaYancowinna | BrazilAcre | BrazilDeNoronha | BrazilEast | BrazilWest | CanadaAtlantic | CanadaCentral | CanadaEastern | CanadaMountain | CanadaNewfoundland | CanadaPacific | CanadaSaskatchewan | CanadaYukon | Cet | ChileContinental | ChileEasterIsland | Cst6Cdt | Cuba | Eet | Egypt | Eire | Est | Est5Edt | EtcGmt | EtcGmt0 | EtcGmt_m0 | EtcGmt_m1 | EtcGmt_m10 | EtcGmt_m11 | EtcGmt_m12 | EtcGmt_m13 | EtcGmt_m14 | EtcGmt_m2 | EtcGmt_m3 | EtcGmt_m4 | EtcGmt_m5 | EtcGmt_m6 | EtcGmt_m7 | EtcGmt_m8 | EtcGmt_m9 | EtcGmt_p0 | EtcGmt_p1 | EtcGmt_p10 | EtcGmt_p11 | EtcGmt_p12 | EtcGmt_p2 | EtcGmt_p3 | EtcGmt_p4 | EtcGmt_p5 | EtcGmt_p6 | EtcGmt_p7 | EtcGmt_p8 | EtcGmt_p9 | EtcGreenwich | EtcUct | EtcUniversal | EtcUtc | EtcZulu | EuropeAmsterdam | EuropeAndorra | EuropeAstrakhan | EuropeAthens | EuropeBelfast | EuropeBelgrade | EuropeBerlin | EuropeBratislava | EuropeBrussels | EuropeBucharest | EuropeBudapest | EuropeBusingen | EuropeChisinau | EuropeCopenhagen | EuropeDublin | EuropeGibraltar | EuropeGuernsey | EuropeHelsinki | EuropeIsleOfMan | EuropeIstanbul | EuropeJersey | EuropeKaliningrad | EuropeKiev | EuropeKirov | EuropeKyiv | EuropeLisbon | EuropeLjubljana | EuropeLondon | EuropeLuxembourg | EuropeMadrid | EuropeMalta | EuropeMariehamn | EuropeMinsk | EuropeMonaco | EuropeMoscow | EuropeNicosia | EuropeOslo | EuropeParis | EuropePodgorica | EuropePrague | EuropeRiga | EuropeRome | EuropeSamara | EuropeSanMarino | EuropeSarajevo | EuropeSaratov | EuropeSimferopol | EuropeSkopje | EuropeSofia | EuropeStockholm | EuropeTallinn | EuropeTirane | EuropeTiraspol | EuropeUlyanovsk | EuropeUzhgorod | EuropeVaduz | EuropeVatican | EuropeVienna | EuropeVilnius | EuropeVolgograd | EuropeWarsaw | EuropeZagreb | EuropeZaporozhye | EuropeZurich | Gb | GbEire | Gmt | Gmt0 | Gmt_m0 | Gmt_p0 | Greenwich | Hongkong | Hst | Iceland | IndianAntananarivo | IndianChagos | IndianChristmas | IndianCocos | IndianComoro | IndianKerguelen | IndianMahe | IndianMaldives | IndianMauritius | IndianMayotte | IndianReunion | Iran | Israel | Jamaica | Japan | Kwajalein | Libya | Met | MexicoBajaNorte | MexicoBajaSur | MexicoGeneral | Mst | Mst7Mdt | Navajo | Nz | NzChat | PacificApia | PacificAuckland | PacificBougainville | PacificChatham | PacificChuuk | PacificEaster | PacificEfate | PacificEnderbury | PacificFakaofo | PacificFiji | PacificFunafuti | PacificGalapagos | PacificGambier | PacificGuadalcanal | PacificGuam | PacificHonolulu | PacificJohnston | PacificKanton | PacificKiritimati | PacificKosrae | PacificKwajalein | PacificMajuro | PacificMarquesas | PacificMidway | PacificNauru | PacificNiue | PacificNorfolk | PacificNoumea | PacificPagoPago | PacificPalau | PacificPitcairn | PacificPohnpei | PacificPonape | PacificPortMoresby | PacificRarotonga | PacificSaipan | PacificSamoa | PacificTahiti | PacificTarawa | PacificTongatapu | PacificTruk | PacificWake | PacificWallis | PacificYap | Poland | Portugal | Prc | Pst8Pdt | Roc | Rok | Singapore | Turkey | Uct | Universal | UsAlaska | UsAleutian | UsArizona | UsCentral | UsEastIndiana | UsEastern | UsHawaii | UsIndianaStarke | UsMichigan | UsMountain | UsPacific | UsSamoa | Utc | WSu | Wet | Zulu

TriggerOn​

⚠️ Deprecated Use literal values.

Enum keys​

Close | Open | OpenAndClose

TriggerOnUpdateFields​

⚠️ Deprecated Use literal values.

Enum keys​

DtDavisAffectedUsersCount | DtDavisImpactLevel | EventCategory | EventSeverity | RootCauseEntityId | SmartscapeAffectedEntities

TriggerSubType​

⚠️ Deprecated Use literal values.

Enum keys​

Cron | Custom | DavisEvent | DavisProblem | FixedInterval | Once | TimeOfDay

TriggerType​

⚠️ Deprecated Use literal values.

Enum keys​

Event | Manual | Schedule | Workflow

ValidationMethod​

⚠️ Deprecated Use literal values.

Enum keys​

HmacSha256 | Slack | Static

WeekdaysNamesItem​

⚠️ Deprecated Use literal values.

Enum keys​

Fr | Mo | Sa | Su | Th | Tu | We

WeekdaysValuesItem​

⚠️ Deprecated Use literal values.

Enum keys​

WeekdaysValues_1 | WeekdaysValues_2 | WeekdaysValues_3 | WeekdaysValues_4 | WeekdaysValues_5 | WeekdaysValues_6 | WeekdaysValues_7

Wkst​

⚠️ Deprecated Use literal values.

The week start day.

Enum keys​

Fr | Mo | Sa | Su | Th | Tu | We

WorkflowTemplateConnectionInputType​

⚠️ Deprecated Use literal values.

Enum keys​

Connection

WorkflowTemplateUserInputDataType​

⚠️ Deprecated Use literal values.

Data type of the entered value. Only 'string' is supported.

Enum keys​

String

WorkflowTemplateUserInputType​

⚠️ Deprecated Use literal values.

Enum keys​

UserInput

WorkflowType​

⚠️ Deprecated Use literal values.

Represents a Workflow type.

Enum keys​

Simple | Standard

Still have questions?
Find answers in the Dynatrace Community