Skip to main content

Portable - Trigger Flow

info

This Blueprint is classified as "Free" and does not incur billable runtime. Learn more.

Overview​

Use this blueprint to trigger a Portable flow to run. It is recommended to leave the Wait for Completion option set to TRUE so that the vessel exits upon completion of the flow in Portable. If the option is set to FALSE the vessel will exit upon successfully triggering the flow.

Variables​

NameReferenceTypeRequiredDefaultOptionsDescription
API TokenPORTABLE_API_TOKENPasswordβœ…--The API token generated in Portable
Flow IDPORTABLE_FLOW_IDAlphanumericβœ…--The ID of the flow to run
Wait for CompletionPORTABLE_WAITBooleanβœ…TRUE-Whether to wait for the flow to complete. If TRUE, Shipyard will wait for completion before exiting

YAML​

Below is the YAML template for this Blueprint and can be used in the Fleet YAML Editor.

source:
blueprint: Portable - Trigger Flow
inputs:
PORTABLE_API_TOKEN: null ## REQUIRED
PORTABLE_FLOW_ID: null ## REQUIRED
PORTABLE_WAIT: 'TRUE' ## REQUIRED
type: BLUEPRINT
guardrails:
retry_count: 1
retry_wait: 0h0m0s
runtime_cutoff: 1h0m0s
exclude_exit_code_ranges:
- '200'
- '201'
- '203'
- '210'
- '211'
- '214'
- '249'