Custom Trigger
![dhyadav79](https://us.v-cdn.net/6038231/uploads/Dataiku/nAvatar5.png)
dhyadav79
Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS ML Practitioner, Dataiku DSS Core Concepts, Registered Posts: 21 ✭✭✭✭
Hi,
I want to create custom trigger but it not executed even I have written simple print('Hello') but it is not appear in log. Could you please help.
Answers
-
JordanB Dataiker, Dataiku DSS Core Designer, Dataiku DSS Adv Designer, Registered Posts: 295 Dataiker
Hi @dhyadav79
,In regards to troubleshooting issues related to custom scenario triggers, I recommend adding print debug statements to your code, then reviewing the backend log. If you are an admin in DSS, then you can view the backend log from the UI under "Administration" > "Maintenance" > "Log files". Another option would be to test the code in a Jupyter notebook.If that does not solve the issue, we would be happy to take a look at your code.Thanks!JordanTSE | Dataiku -
dhyadav79 Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS ML Practitioner, Dataiku DSS Core Concepts, Registered Posts: 21 ✭✭✭✭
Hi Jordan,
Thanks for your response and suggestion.
Could you please share some sample steps along with python code to write custom trigger in scenario which will really help me to understand.
Thanks
Dheerendra
-
Marlan Neuron 2020, Neuron, Registered, Dataiku Frontrunner Awards 2021 Finalist, Neuron 2021, Neuron 2022, Dataiku Frontrunner Awards 2021 Participant, Neuron 2023 Posts: 318 Neuron
Hi @dhyadav79
,Check here for an example custom trigger:
https://knowledge.dataiku.com/latest/courses/automation/custom-automation-hands-on.html
Also check this post for some additional tips:
https://community.dataiku.com/t5/Using-Dataiku/Scenario-Custom-Trigger-Tips/m-p/5561
Marlan