Skip to main content

Email Alert

User can decide when they will receive email alert in Settings.

eTask IMG

They can edit the form and content of the email alert with Microsoft Flow. We currently have 3 editable flows: 1/ eTask Connector TaskFieldChange: Created, Assigned To, Field Change. 2/ eTask Connector TaskDue: Due Soon, Overdue. 3/ eTask On Weekly Report: Weekly Email.

eTask IMG

The form of the email is similar (The main difference is the subject).

eTask Connector TaskFieldChange

Flow mechanism

eTask IMG

Figure : Email alert flow logical chart.

Explanation

eTask IMG

eTask IMG

eTask IMG

eTask IMG

  1. Connector: Connector is provided by Appvity, it works as a trigger action which trigger MS Flow and carries variables to serve the users usage. Connector also decides Assignees - the one who will receive the email (Creator, manager, people assigned to the task/bug).

  2. Initialize variable: variable in MS Flow is used to store variable of Connector.

  3. Check if Assigned To field is empty: If the item is assigned to no one, the flow will not send any email.

  4. Check if the field is Null or change: If the field is not empty, the flow will change it into the right format for the email. If the field is changed, it will be bold.

  5. Check if item is a task or bug: Task and bug have different field.

  6. Check if the field is Null or change: same as 4.

  7. Send an email using the assigned variable to the Assignees.

eTask IMG

Figure : HTML code of the email.

eTask IMG

User admin can edit the email format (what show first, their format) through the html code. User admin can also edit the content (what will or won’t show) base on their variable which is listed in the Dynamic content.

If the required variable is not on the list, they can call the variable directly by switch to Expression and typing
triggerBody()['-----'] Where ----- is the name of the variable that they need.

By default, if these field is blank, they will be sent as:

  • Start Date = Not specified.
  • Due Date = Not specified.
  • Body = Task/Bug has no content.
  • Assign To = No one is assigned.

Email Format

eTask IMG

Figure : Email template for task in TaskFieldChange.

eTask IMG

Figure : Email template for bug in TaskFIeldChange.

Email legends

Variable nameMeaning
sTeamNameName of your Team on Microsoft Teams
sChannelNameName of your Channel on Microsoft Teams
nameName of the item
sCurrentAssignedToThe person/people who is assigned to the item
sSubjectSubject of the email
Entity TypeTask/Bug
sChangedStatusStatus of the item
sChangedPriorityPriority of the item
sChangedSeveritySeverity of the Bug
sDateItem start date
dDateItem due date
sourceItem source
sBodyDescription of the item

Note: Item field is bold & red if it is changed.

eTask Connector TaskDue

Flow mechanism

eTask IMG

Figure : Email alert flow logical chart.

Explanation

eTask IMG

eTask IMG

eTask IMG

eTask IMG

  1. Connector: Connector is provided by Appvity, it works as a trigger action which trigger MS Flow and carries variables to serve the users usage. Connector also decides Assignees - the one who will receive the email (Creator, manager, people assigned to the task/bug).

  2. Initialize variable: variable in MS Flow is used to store variable of Connector.

  3. Check if Assigned To field is empty: If the item is assigned to no one, the flow will not send any email.

  4. Check if the field is Null: If the field is not empty, the flow will change it into the right format for the email.

  5. Check if item is a task or bug: Task and bug have different field.

  6. Send an email using the assigned variable to the Assignees.

eTask IMG

Figure : HTML code of the email.

eTask IMG

User admin can edit the email format (what show first, their format) through the html code.User admin can also edit the content (what will or won’t show) base on their variable which is listed in the Dynamic content.

If the required variable is not on the list, they can call the variable directly by switch to Expression and typing
triggerBody()['-----'] Where ----- is the name of the variable that they need.

By default, if these field is blank, they will be sent as:

  • Start Date = Not specified
  • Due Date = Not specified
  • Body = Task/Bug has no content.
  • Assign To = No one is assigned.

Email Format

eTask IMG

Figure : Email template for task in TaskDue.

eTask IMG

Figure : Email template for bug in TaskDue.

Email legends

Variable nameMeaning
sTeamNameName of your Team on Microsoft Teams
sChannelNameName of your Channel on Microsoft Teams
nameName of the item
sCurrentAssignedToThe person/people who is assigned to the item
sSeveritySeverity of the bug
sSubjectSubject of the email
Entity TypeTask/Bug
statusStatus of the item
priorityPriority of the item
sDateTask start date
dDateItem due date
sourceItem source
sBodyDescription of the item

Weekly E-mail

Weekly email is a mail being sent weekly, to summarize tasks and bugs statuses within the next week. Here is the default template:

eTask IMG

Figure : Email example for task in Weekly E-mail.

The mechanism of flow

Flow diagram:

eTask IMG

Figure : Email alert flow logical chart.

eTask IMG

Explanation:

  1. Connector/trigger action: Connector is provided by Appvity, it works as a trigger action which trigger MS Flow and carries variables to serve the users usage.

  2. Initialize variables: To create variables in MS Flow and they will store variables of Connector.

  3. Loop items to check if items belong to Active/Late/Upcoming category, then assign variables of Connector into variables of Flow to build the mail.

  4. Send built email: Build the email in html format.

    Note: setup a mail connection (required an outlook mail), choosing mail connection is the primary mail that will send the build email to recipients.

eTask IMG

Settings

Click on hamburger button “…” on top-left of eTask grid, access on “Settings”, choose “Others”, under “email alert” there is a tab called “Weekly Email”:

eTask IMG

  • Send weekly email to the team members: toggle on to send tasks/bugs email to team members.
  • Send Date: Choose a date within a week to allow the system send emails from Monday – Sunday.