...
Code Block |
---|
<html> <head> <style> body { font-family: Arial, sans-serif; color: #323232; background-color: #f1f7f7; } table { width: 480px; margin: 16px auto; border-collapse: collapse; } th, td { padding: 7px; border: 1px solid #ddd; text-align: left; vertical-align: top; } th { background-color: #f1f7f7; font-weight: bold; font-size: 15px; line-height: 20px; } a { text-decoration: none; background-color: #04AA6D; color: white !important; padding: 15px; display: inline-block; border-radius: 4px; } </style> </head> <body> <table> <thead> <tr> <th colspan="2">Company: ${SYS.CURRENT_USER_COMPANY}</th> </tr> </thead> <tbody> <tr> <th>ID</th> <td>${SYS.TASK_ID}</td> </tr> <tr> <th>TASK NAME</th> <td>${SYS.TASK_NAME}</td> </tr> <tr> <th>Date of Assignment</th> <td>${SYS.NOW}</td> </tr> <tr> <th>Priority</th> <td>High</td> </tr> <tr> <th>Workflow</th> <td>${SYS.PROCESSDEFINITION_NAME}</td> </tr> </tbody> </table> <p style="text-align: center;"> <a href="${SYS.TASKLINK}" target="_blank">Go to Task</a> </p> </body> </html> |
The HTML can also be added configured via properties on the workflow, on the task mail text field.
...
After uploading the file on Resources → admin or adding the HTML via properties, the task can now be assigned.
...