Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »


This feature enables sending customizable email notifications for group and user tasks.
Emails are triggered based on user settings or tenant profile configurations.
This feature enhances the task notification system by providing flexible and customizable email notifications, ensuring that all stakeholders are informed and can access their tasks efficiently. The support for variables, HTML content, and direct task links further improves the usability.


User task mail process

The ‘Send e-mail if new task was assigned’ button can be enabled on the ‘Tenant’ page (only by admin user).
The option to "Send email if a new task is assigned" should be activated by default on the 'Tenant' page for all users. If a user chooses to override this setting in their profile by unchecking the checkbox, they will not receive any task-related emails.

Screenshot 2024-05-29 150233.png

Make sure to ‘save’ the changes by scrolling down and clicking the ‘save’ button at the bottom of the page.

Screenshot 2024-05-29 150355.png

The success pop-up message is displayed after the changes were saved successfully.

Screenshot 2024-05-29 155847.png

If a task gets assigned, a new mail is created.

User task mail is successfully displayed on the outbound email list section and is only sent to the assigned user.

Screenshot 2024-05-29 153455.pngScreenshot 2024-05-29 154210.png

Group task mail process cases

The ‘Notify by group mail’ button on the 'Tenant' page should be enabled.

  1. If true, only one mail is sent to this group email address.

  2. If false, all group members get an email.

Screenshot 2024-05-29 154503.png

Group task mail is successfully sent to all the group members roles that the group contains, the emails are displayed on the outbound email list section.

Screenshot 2024-05-30 094727.png

To check if the mail was sent to all the roles that were assigned to the group, you can check the group information modal which you can access via group list.

Screenshot 2024-05-30 100458.pngScreenshot 2024-05-30 095919.png

Customizing task mail text

They can be customized for each task, process and language (also the hierachy) and also for a single node in workflow design. The following are the tim.properties they can be used to customize the text of the receiving mail once the task is assigned (Groupmail or Task mail):

group-taskmail-subject-[language]-[process name here]-[node here]=GRP_SUB_WITH_PD_AND_NODE_EN
group-taskmail-subject-en-[process name here]=GRP_SUB_WITH_PD_EN
group-taskmail-subject-en=GRP_SUB_IN_GENERAL_EN
group-taskmail-subject=GRP_SUB_IF_TENANT_LANGUAGE_IS_NOT_PROPERLY_CONFIGURED

group-taskmail-text-en-[process name here]-[node here]=GRP_TEXT_WITH_PD_AND_NODE_EN
group-taskmail-text-en-[process name here]=GRP_TEXT_WITH_PD_EN
group-taskmail-text-en=GRP_TEXT_IN_GENERAL_EN
group-taskmail-text=GRP_TEXT_IF_USER_LANGUAGE_IS_NOT_PROPERTY_CONFIGURED

taskmail-subject-en-[process name here]-[node here]=USER_SUB_WITH_PD_AND_NODE_EN
taskmail-subject-en-[process name here]=USER_SUB_WITH_PD_EN
taskmail-subject-en=USER_SUB_IN_GENERAL_EN
taskmail-subject=USER_SUB_IF_USER_LANGUAGE_IS_NOT_PROPERTY_CONFIGURED

taskmail-text-en-[process name here]-[node here]=USER_TEXT_WITH_PD_AND_NODE_EN
taskmail-text-en-[process name here]=USER_TEXT_WITH_PD_EN
taskmail-text-en=USER_TEXT_IN_GENERAL_EN
taskmail-text=USER_TEXT_IF_USER_LANGUAGE_IS_NOT_PROPERTY_CONFIGURED

Hierarchy

Group task mail

group-taskmail-subject
    ├── group-taskmail-subject-en
        ├── group-taskmail-subject-[language][process-name-here]
            └── group-taskmail-subject-en[process-name-here]-[node here]

  • If group-taskmail-subject-en[process-name-here]-[node here] is specified, translation for this specific node is used if there is a match.

  • If not, then group-taskmail-subject-en[process-name-here] is used.

  • If that is not specified, then group-taskmail-subject-en is used.

  • If none of the above are specified, group-taskmail-subject is used.


User task mail

taskmail-subject
    ├── taskmail-subject-en
        ├── taskmail-subject-en[process-name-here]
            └── taskmail-subject-en[process-name-here]-[node here]

  • If taskmail-subject-en[process-name-here]-[node here] is specified, translation for this specific node is used if there is a match.

  • If not, then taskmail-subject-en[process-name-here] is used.

  • If that is not specified, then taskmail-subject-en is used.

  • If none of the above are specified, taskmail-subject is used.

Use case: Different text on two level using two mail text properties. Let us define in tim.properties two properties. In activity level “account setup“ it is configured to receive text ‘Hello User’ as soon as the task is assigned to the group. In all other activities the mail text must be “Hello User - level Process Definition”

EN version

image-20240530-145529.png

DE version

Screenshot 2024-06-06 152933.png

For the German version please make sure to set the tenant language to DE before the assignment.

Screenshot 2024-06-07 115549.png



After uploading tim.properties inside the resources folder using the adequate privileges. Then when you assign task “Fill Employee Information“ to the group

Screenshot 2024-05-31 101452.png

The email containing the text ‘Hello User- level Process definition’ are sent successfully.

EN version

Screenshot 2024-05-31 101203.png

DE version

Screenshot 2024-06-07 120446.png

But when assigning the ‘Account Setup’ task to the group the email with the text “Hello User” is displayed

Screenshot 2024-05-31 102750.png

EN version

Screenshot 2024-05-31 103146.png

DE version

Screenshot 2024-06-07 120840.png

Replacing variables from form

Use case: Different text on two level using two mail text properties. Let us define in tim.properties two properties. In activity level “account setup“ it is configured to receive text ‘Hello ${user}’ as soon as the task is assigned. In all other activities the mail text must be “Hello User - level Process Definition”

Screenshot 2024-05-31 141038.png

If you have a variable, you can include it like this…

Screenshot 2024-05-31 142220.png

The email containing the text ‘Hello and the username(ex.Arlinda)' is sent successfully.

Screenshot 2024-05-31 142953.png

HTML

Use case: Different text on two level using two mail text properties. Let us define in tim.properties two properties. In activity level it is configured to receive text the HTML content. as soon as the task is assigned.

Screenshot 2024-05-31 151126.png

After successfully uploading tim.properties to the resources folder with the appropriate privileges, you can proceed to assign tasks to either groups or individual users.

Screenshot 2024-05-31 101452.png

After uploading the tim.properties file into the resources folder with the necessary privileges, proceed to assign tasks to the appropriate users or groups.

Screenshot 2024-05-31 101452.png

After the mail is send to user email, it receives a nice looking email as we have provided in the HTML template

Screenshot 2024-05-31 151655.pngScreenshot 2024-05-31 151848.png


The HTML email received

Screenshot 2024-08-22 140810.png


  • No labels