capabilities.work

Run Scenario and Poll to Completion

A 3-step recipe with Dataiku. We can help you get access.

Recipe · 3 steps

Run Scenario and Poll to Completion

with Dataiku

Run a scenario and poll its status until the run finishes.

  1. Confirm the scenario exists and is active before triggering a run.
  2. Trigger execution of the scenario.
  3. Poll the lightweight scenario status. While the scenario is still running, loop back and poll again; once it stops running, the workflow ends.
What you'll need to have ready
  • apiKey: DSS API key passed as a Bearer token in the Authorization header.
  • projectKey: Project key containing the scenario.
  • scenarioId: Identifier of the scenario to run.
For your developer

Arazzo workflow dataiku:run-scenario-and-poll, 3 operations: getScenario → runScenario → getScenarioRunStatus. Specs on APIs.io.