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

Email Notification

sj0071992
Level 2
Level 2
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

0 Kudos
1 Reply
AlexT
Dataiker
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

Screenshot 2021-09-30 at 16.42.07.png

0 Kudos