Email Notification

There are multiple datasets present in one scenario. Now if one of the datasets gets failed during the execution of the scenario, how can we fetch the name of that dataset in the email? Also, how can we extract the scenario name and scenario id in the email? In addition, I need to provide the link of the logs (when the build gets failed) in the email. As per my understanding, we can create the below URL. However, I am looking for a way to fetch the scenario name and run id. Thanks in advance
Answers
-
Alexandru Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,269 Dataiker
Hi,
Variables available include ${scenarioRunURL} which is very similar to the logs URL. So could also just parse this in Freemarker and reconstruct the URL for the logs.
http://localhost:11200/projects/PROJECT_NAME/scenarios/test/runs/list/2021-09-30-16-40-18-429
Also you can look at our default template which has multiple freemaker example you can build on.
This template is under INSTALLDIR/resources/scenarios/report-templates