Announcing the winners & finalists of the Dataiku Frontrunner Awards 2021! Read their inspiring stories

UPDATE PARAMETERS WEBAPP

flore
Level 1
Level 1
UPDATE PARAMETERS WEBAPP

hello,
I built a webapp that allows me to retrieve parameter variables.
I use his variables for second-time calculations.
the calculations are run via a scenario but I have the impression that it does not take into account my new parameters.
Can you help me?

0 Kudos
1 Reply
HarizoR
Dataiker
Dataiker

Hi Flore,

The root cause of the problem may vary depending on how you pass your parameter variables to the scenario. I would advise to:

- use the set_scenario_variables() method when you instantiate your scenario run in your webapp's backend to make sure that if you are running the scenario twice with different parameters (that is what I understand when you mention "second time calculation"), then you know what exactly is going in

- add print statements in your code to surface the values of your variables of interest and look for them in the logs of your scenario runs when you are debugging a faulty behaviour.

Hope this helps.

 

Best,

Harizo

0 Kudos
A banner prompting to get Dataiku DSS