RE: What are the different options available in Diyotta for sending email notification as part of job flow execution?
We can configure email notification in diyotta as follows. MailX should be installed on agents to avail this feature.
Email Notification: This is provided as separate job to send emails to configured users based on link condition
- CLI & Utility : while executing the designs/streams through CLI, email can be configured as arguments and if any failure occurs it will be notified.Below is the syntax to configure email notification.
dicmd execute [-u userName -w userPassword] -c start|abort|stop|rerun|restartfromfailure -p ProjectName -l LayerName [-d [DataFlowName | DataStreamName] |-s JobFlowName] [-j jobName] [-f ParamName] [-param Parameters] [-i instanceName] [-email] [-mailTo email@example.com] [-cc firstname.lastname@example.org] [-subject subject] [-message message] [-logs]
- Create email action with all the information
- Create a Task Command and configure the email action which is created. As shown in the below screen any number of email actions can be added and choose the condition corresponding to it.