Scenario triggered from webapp

Partner, L2 Admin, Snowflake Advanced, Registered Posts: 7 Partner

Hello,

I would like to trigger a DSS scenario from a button click in a DSS webapp.
I have tried the following code in the python backend part of the webapp:

from dataiku.scenario import Scenario
scenario = Scenario()
scenario.run_scenario("MY_SCENARIO_KEY")

I get the following error message in my backend.log:

API call '/dip/api/tintercom/scenarios/run-step/' failed
java.lang.IllegalArgumentException: The API ticket used is not associated with a scenario run

Is there any way to trigger a new scenario from a DSS webapp?

Thanks in advance for your help
Kind regards

Best Answer

Answers

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.