Guides and Tutorials

Create a task assignment alert

Updated: September 28, 2017 Page Information Edit on GitHub

Here, we want to create the template of the email that will be sent to the users with "Document Validation" permission to notify them that they have a document to review. This template will be used in the operation chain used to assign the validation task to users, using the "Send E-Mail" operation (see next step: Create a button that triggers the task assignment).

Create the mail template as described on the how-to Create a mail template, with the parameters below.

Field Content
ID validationWorkflow_mail
Content Hello,<br /> <br /> The user ${Context['UserFirstName']} ${Context['UserLastName']} needs your approval for the following document :<br /> <br /> Title : ${Document['dc:title']}<br /> <br /> Description : ${Document['dc:description']}<br /> <br /> Creation date : ${Document['dc:created']}<br /> <br /> Link to the document : <a href="${docUrl}">${Document['dc:title']}</a><br />\

The context Variables UserFirstName and UserLastName are here to pass into a mail template the values of CurrentUser.FirstName and CurrentUser.LastName. To load these variables, you just need to put into the chain the blocks « Execution Context > Set Context Variable ».

Operation

Parameter 1

parameter 2

1

Execution Context > Set Context Variable

name: UserLastName

value: @{CurrentUser.LastName}

2

Execution Context > Set Context Variable

name: UserFirstName

value: @{CurrentUser.FirstName}

Sending an email to a group of users

You can use the block « Users & Groups > Get Principal Emails » in order to load the list of users sharing the same permission (field permission) into the variable chosen into the variable name field.

2 months ago Manon Lumeau Update installation steps on mac os
3 years ago Solen Guitter 20 | ormat and UR
5 years ago Thibaud Arguillere 19
7 years ago Arthur Gallouin 17
7 years ago Arthur Gallouin 18 | Migrated to Confluence 4.0
7 years ago Arthur Gallouin 16
7 years ago Arthur Gallouin 15
7 years ago Arthur Gallouin 14
7 years ago Arthur Gallouin 13
7 years ago Arthur Gallouin 11
7 years ago Arthur Gallouin 12
7 years ago Arthur Gallouin 10
7 years ago Arthur Gallouin 8
7 years ago Arthur Gallouin 9
7 years ago Arthur Gallouin 7
7 years ago Arthur Gallouin 6
7 years ago Solen Guitter 5
7 years ago Solen Guitter 4
7 years ago Solen Guitter 3
7 years ago Solen Guitter 2
7 years ago Solen Guitter 1
History: Created by Solen Guitter