Can I get Email notification when my task is completed?
Yes, you can get Email notification immediately whenever your task is completed.
And, you can even get Email notification for below status.
- Timed Out
You can send Email notification for below Scheduler Objects
- Command Task
- File Watcher
To create Email Actions, click Email Actions menu item on Left menu bar. then it will redirect to Email Actions list screen, there we can see list of Email Actions.
To create a new Email Action, click on “New Email Action” in right side Actions menu. Then it will open Email Action edit page.
After clicking the ‘New Email Action’, it will create New Email Action with ‘EMAILACTION_NAME_1’ you can change it by click the Arrow button.
Provide your valid email details in Properties Tab and click on Save button on Actions panel.
For an Example we can create New Command Task and will add Email Notifications to it
To create New Command Task, click on ‘New Command Task’ under Actions panel.
In Command Tab, we can provide valid detail to execute Command Task.
To add Email Actions to Command Task, click on “Notifications” tab and then you will see list of Email Actions, now click on ‘+’ button to add Email Actions.
After clicking the ‘+’ button, ‘Email Notification’ popup will be opened then select the Email Action and click ‘Ok’ button. Then it will add one row in Notification’s Email Actions grid.
By default, Status Check Condition will be ‘Succeeded’.
If you want, you can change to other Conditions.
You can use same Email Action for multiple Conditions by adding the same Email Action again and again and set different Status Check Conditions.
After that click on Save button on the right side ‘Actions’ panel to Save the Command Task. Then we can schedule the newly created Command Task, by clicking the ‘Schedule’ menu item in ‘Actions’ panel.
After clicking on Schedule button, it will show Scheduled Successfully popup.
Then, you can switch tab to ‘View Activity’ to see all Scheduled Task. By clicking on View Activity menu item on left side menu bar.
If your Scheduled Task is completed Succeeded then you will get the Email Notification, status will be succeeded then you will get email notification.