Skip to main content

Domo - Trigger Dataset Refresh

Overview​

Manually trigger a refresh of a dataset in Domo.

Authentication is serviced through a client ID and secret ID, similar to the use of the SDK. Both are required to authenticate.

This Blueprint will only kick off the refresh and will almost always return a status of success. It will not wait around to verify if the created refresh job was successfully completed, but it will create and store the generated job ID to shipyard-artifacts/domo-blueprints/variables/job_id.pickle

Recommended Setup:

  1. A Vessel built with the Domo - Check Refresh Status Blueprint should be run immediately after this Vessel. This will ensure that you build your Fleet to act on the final status of your refresh.

Variables​

NameReferenceTypeRequiredDefaultOptionsDescription
Client IDDOMO_CLIENT_IDAlphanumericβœ…--Client ID of your organization's Domo App.
SecretDOMO_SECRET_KEYPasswordβœ…--Secret associated with the provided Client ID.
Dataset IDDOMO_DATASET_IDAlphanumericβœ…--UUID of the dataset you want to download, typically found at the end of the URL.
Wait for CompletionDOMO_WAITBooleanβž–TRUE-Whether the blueprint should wait for the Domo refresh to finish. It is recommended to set this to TRUE.

YAML​

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

source:
blueprint: Domo - Trigger Dataset Refresh
inputs:
DOMO_CLIENT_ID: null ## REQUIRED
DOMO_SECRET_KEY: null ## REQUIRED
DOMO_DATASET_ID: null ## REQUIRED
DOMO_WAIT: 'TRUE'
type: BLUEPRINT
guardrails:
retry_count: 1
retry_wait: 0h0m0s
runtime_cutoff: 1h0m0s
exclude_exit_code_ranges:
- '201'
- '203'
- '101'
- '106'
- '110'
- '111'
- '112'
- '113'
- '116'
- '115'