HP OO Run

HP OO Run

Certified
Enterprise Edition

Run an HP OO flow by UUID

Triggers a flow in HP Operations Orchestration and optionally waits for it to finish. When wait is true, the task polls the execution summary until the flow reaches a terminal state, then fetches the flow's outputs.

yaml
type: io.kestra.plugin.ee.hpoo.executions.Run

Trigger a flow and wait for completion

yaml
id: hpoo_run
namespace: company.team

tasks:
  - id: run_flow
    type: io.kestra.plugin.ee.hpoo.executions.Run
    host: https://oo.company.com:8443
    username: admin
    password: "{{ secret('HPOO_PASSWORD') }}"
    flowUuid: "8d52dfc3-1de5-48d4-9c2a-887718de4696"
    runName: "nightly-build-{{ execution.id }}"
    inputs:
      hostname: web-01
      retries: "3"

Trigger a flow without waiting

yaml
id: hpoo_trigger
namespace: company.team

tasks:
  - id: trigger
    type: io.kestra.plugin.ee.hpoo.executions.Run
    host: https://oo.company.com:8443
    username: admin
    password: "{{ secret('HPOO_PASSWORD') }}"
    flowUuid: "8d52dfc3-1de5-48d4-9c2a-887718de4696"
    wait: false
Properties

Flow UUID

UUID of the HP OO flow to execute.

HP OO base URL

Base HTTPS endpoint for the OO instance (e.g. https://oo.company.com: 8443). Trailing slash is stripped.

DefaultCLASSIC
Possible Values
CLASSICCONTAINERIZED

API mode

CLASSIC for traditional on-prem OO (HTTP Basic at /oo/rest/v2). CONTAINERIZED for the Kubernetes-deployed OO (token auth at /rest/v1/{tenantId}).

Possible Values
STANDARDEXTENDED

OO execution log level

Verbosity OO uses for this execution's step logs. Unrelated to Kestra's task log level. If unset, OO uses the flow's own default.

Defaulttrue

Fail on execution error

If true (default), the task fails when the execution ends with SYSTEM_FAILURE or COMPLETED_ERROR.

Defaultfalse

Fetch step logs

If true, polls the OO step log endpoint alongside the summary and emits new steps to Kestra's logger as they appear.

Disable input prompts

If true, all input prompts are disabled and inputs without a provided value receive an empty value.

Inputs

Key/value map of flow inputs.

HTTP client options

Optional overrides for timeouts, proxies, or headers.

Definitions
allowFailedbooleanstring
Defaultfalse

If true, allow a failed response code (response code >= 400)

allowedResponseCodesarray
SubTypeinteger

List of response code allowed for this request

auth

The authentication to use.

type*Requiredobject
passwordstring

The password for HTTP basic authentication.

usernamestring

The username for HTTP basic authentication.

type*Requiredobject
tokenstring

The token for bearer token authentication.

type*Requiredobject
passwordstring

The password for HTTP Digest authentication.

usernamestring

The username for HTTP Digest authentication.

basicAuthPasswordDeprecatedstring

The password for HTTP basic authentication. Deprecated, use auth property with a BasicAuthConfiguration instance instead.

basicAuthUserDeprecatedstring

The username for HTTP basic authentication. Deprecated, use auth property with a BasicAuthConfiguration instance instead.

connectTimeoutDeprecatedstring
Formatduration

The time allowed to establish a connection to the server before failing.

connectionPoolIdleTimeoutDeprecatedstring
Formatduration

The time an idle connection can remain in the client's connection pool before being closed.

defaultCharsetstring
DefaultUTF-8

The default charset for the request.

enabledTcpExtendedKeepAlivebooleanstring
Defaulttrue

Whether to enable TCP Keep-Alive extended socket options (TCP_KEEPIDLE, TCP_KEEPINTERVAL, TCP_KEEPCOUNT).

Set to false when running on Windows workers, as these extended socket options are not supported by the Windows JDK and will cause connection failures.

followRedirectsbooleanstring
Defaulttrue

Whether redirects should be followed automatically.

logLevelDeprecatedstring
Possible Values
ALLTRACEDEBUGINFOWARNERROROFFNOT_SPECIFIED

The log level for the HTTP client.

logsarray
SubTypestring
Possible Values
REQUEST_HEADERSREQUEST_BODYRESPONSE_HEADERSRESPONSE_BODY

The enabled log.

maxContentLengthDeprecatedinteger

The maximum content length of the response.

proxy

The proxy configuration.

addressstring

The address of the proxy server.

passwordstring

The password for proxy authentication.

portintegerstring

The port of the proxy server.

typestring
DefaultDIRECT
Possible Values
DIRECTHTTPSOCKS

The type of proxy to use.

usernamestring

The username for proxy authentication.

proxyAddressDeprecatedstring

The address of the proxy server.

proxyPasswordDeprecatedstring

The password for proxy authentication.

proxyPortDeprecatedinteger

The port of the proxy server.

proxyTypeDeprecatedstring
Possible Values
DIRECTHTTPSOCKS

The type of proxy to use.

proxyUsernameDeprecatedstring

The username for proxy authentication.

readIdleTimeoutDeprecatedstring
Formatduration

The time allowed for a read connection to remain idle before closing it.

readTimeoutDeprecatedstring
Formatduration

The maximum time allowed for reading data from the server before failing.

ssl

The SSL request options

insecureTrustAllCertificatesbooleanstring

Whether to disable checking of the remote SSL certificate.

Only applies if no trust store is configured. Note: This makes the SSL connection insecure and should only be used for testing. If you are using a self-signed certificate, set up a trust store instead.

timeout

The timeout configuration.

connectTimeoutstring

The time allowed to establish a connection to the server before failing.

readIdleTimeoutstring
DefaultPT5M

The time allowed for a read connection to remain idle before closing it.

Password

Password for Basic Auth. Required when apiMode is CLASSIC.

Reference (ref) of the pluginDefaults to apply to this task.

DefaultPT10S

Polling interval

Time between status polls when wait is true. Defaults to 10 seconds.

Run name

Human-readable name for this run. Defaults to the flow name when omitted.

Sensitive inputs

Map of input names to a boolean indicating whether to encrypt the value. Inputs already marked sensitive in OO are unaffected.

Tenant ID

OO tenant identifier. Required when apiMode is CONTAINERIZED.

DefaultPT1H

Maximum time to wait

Maximum time to wait for the execution to reach a terminal state when wait is true. Defaults to 1 hour.

Auth token

Token to send as X-Auth-Token. Required when apiMode is CONTAINERIZED. Obtain it from POST /idm-service/v3.0/tokens or any external mechanism.

Username

Username for Basic Auth. Required when apiMode is CLASSIC.

Defaulttrue

Wait for completion

If true (default), the task polls until the execution reaches a terminal state. If false, the task returns immediately after the trigger.

Execution end time as Unix epoch milliseconds

OO execution ID

Flow bound inputs (name, termName, value)

Definitions
namestring
termNamestring
valuestring
SubTypestring

Flow outputs returned by OO as a name/value map

Final result status name

Final result status type (e.g. RESOLVED, ERROR)

Execution start time as Unix epoch milliseconds

Possible Values
RUNNINGCOMPLETEDCOMPLETED_RESOLVEDCOMPLETED_DIAGNOSEDCOMPLETED_ERRORCOMPLETED_NO_ACTION_TAKENCOMPLETED_CUSTOMSYSTEM_FAILUREPAUSEDPENDING_PAUSEPENDING_CANCELPAUSED_USER_PAUSEDPAUSED_INPUT_REQUIREDPAUSED_INPUT_REQUIRED_MANUAL_OPPAUSED_DISPLAYPAUSED_GATED_TRANSITIONPAUSED_HAND_OFFPAUSED_INTERRUPTPAUSED_NO_WORKERS_IN_GROUPPAUSED_BRANCH_PAUSEDCANCELEDUNKNOWN

Final execution status (null when wait is false)