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.
- Confirm the scenario exists and is active before triggering a run.
- Trigger execution of the scenario.
- 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.