Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
In the Adeptia Connect, Notification is used to send mail to users about the execution status of a process flow. You can add the Mail Notification activity anywhere in the process flow. You can add more than one Mail Notification activities in a process flow.
The Mail Notification activity is of two types:
- User Defined Message: This type of mail notification is used to send custom email message to any user during execution of a process flow. Any file can be attached to the mail.
- Process Flow Summary: This type of mail notification is used by the Connect Server to dynamically send summary of a process flow execution.
Anchor | ||||
---|---|---|---|---|
|
Prerequisites
- Mail Server Parameters must be configured before creating Mail Notification activity.
Steps to create User Defined Message Notification
Click Configure > OTHERS > Mail Notification.
Click Create Mail Notification.
- Enter the name and description for Context Upload in the in the Name and Description fields.
- Select User Defined Message from the Notification Type drop-down listfield.
- Enter subject for the email message in the textbox Mail Subject.
- Select the user(s) to whom you want to send the notification email from the textbox To User(s).
Enter the recipient(s) email address in the textbox To Email Id(s) (comma separated).
You can select the recipient of the notification mail either by selecting user from To User(s) or by specifying email address in To Email Id(s) (comma separated) field.
When you select user, the notification mail is sent to the email address specified while creating the user.Enter the email message in the textbox Message.
You can format your messages and also send images (Web Url) and links with it by using HTML tags in Message textbox. Formats that are supported by html work here as well.
For e.g., following are the code snippet to add image and link into mail notification message:For image:
<html>
<body>
<h1>heading</h1>
<img src=
"http://blog.newrelic.com/wp-content/uploads/java-logo.jpg"
alt=
"some_text"
width=
200
height=
200
>
</body>
</html>
For Link:<html>
<body>
<h1>heading</h1>
<a href=
"https://www.google.co.in"
>Visit our Site</a>
</body>
</html>|
- Select the type of authentication from the Authentication Type field. The available options are Basic and OAuth 2.0.
- Select one of the available OAuth accounts from the Attachment checkbox OAuth Account field. It is available only when you select OAuth 2.0 as an authentication type.
- Select the Attachment check box to send the file(s) as attachment.
Enter the file path and file name(s) in the textboxes File Path and File Name respectively.
Info To send multiple files as attachment, separate the name of files with commas in the File Name field. All these files must be placed in the same specified folder. Expand the Advanced Properties section and select the Project from Project drop-down list.
- Click Save.
Anchor | ||||
---|---|---|---|---|
|
Steps to create Process Flow Summary Notification
Click Configure > OTHERS > Mail Notification.
Click Create Mail Notification.
- Enter the name and description for Context Upload in the in the Name and Description fields.
- Select User Defined Message from the Notification Type drop-down list.
- Enter subject for the email message in the textbox Mail Subject.
- Select the user(s) to whom you want to send the notification email from the textbox To User(s).
Enter the recipient(s) email address in the textbox To Email Id(s) (comma separated).
You can select the recipient of the notification mail either by selecting user from To User(s) or by specifying email address in To Email Id(s) (comma separated) field.
When you select user, the notification mail is sent to the email address specified while creating the user.Select one of the criteria from the Notification Criteria drop-down listfield. All criteria are explained in the below table.
Notification Criteria
Description
Running or Executed Successfully
Email is sent only when the process flow is running or executed successfully.
Failure
Email is sent only when the process flow execution is failed. However, if any activity before the mail notification fails, then all activities (including Mail Notification activity) are skipped and no email is sent.Thus, it is recommended to use the Mail Notification activity with the End Event of process flow.
Always
Email is sent whether the process flow execution is successful or failed. However, if any activity before the mail notification fails, then all activities (including Mail Notification activity) are skipped and no email is sent.Thus, it is recommended to use the Mail Notification activity with the End Event of process flow.
- Select the type of authentication from the Authentication Type field. The available options are Basic and OAuth 2.0.
Select one of the available OAuth accounts from the OAuth Account field. It is available only when you select OAuth 2.0 as an authentication type.
Expand the Advanced Properties section and select the Project from Project drop-down list.
- Click Save.
Panel | ||||
---|---|---|---|---|
| ||||
What's newBest practicesTraining guidesFrequently asked questionsAdeptia Connect APIsAdeptia security report |