Message templates are list of templates to be used in notifications like task assignment or reminders. By default emakin uses predefined templates but message contents can be customized by creating a message template.
There two type of message template as following:
Standard
Uses plain text or HTML format and can be use {{ ... }} literals to replace process data. For more information please refer to data templates.
Defaults
By default emakin uses following templates:
Task Notification
<html> <body style="margin:0; padding:0"> <div style="margin:1em"> <p><b>{{ $Recipients }}</b>,</p> <p>You have a new task named {{ $WorkItem.Caption }}.</p> <p> <a style="display:inline-block; padding:5px; border:outset 1px; background-color: #D7DEF0; text-decoration:none;" href="{{ $DomainUrl }}/app/?/workitem/{{ $WorkItem.Id }}">{{ $WorkItem.Caption }}</a> </p> <p>{{ $WorkItem.Instructions }}</p> <p><u>Details</u> <br></br> <b>Form number</b> {{ $Instance.Number }},<br></br> {{ if $WorkItem.DeadlineDate then <b>Deadline date</b> {{ $WorkItem.DeadlineDate }} }} </p> </div> <div style="margin:0 0 0 0; padding:0.5em 0 0.5em 1em;background-color:#666"> <a href="{{ $DomainUrl }}/"> <img src="{{ $LogoUrl }}" border="0"></img> </a> </div> </body> </html>
First Reminder
<html> <body style="margin:0; padding:0"> <div style="margin:1em"> <p><b>{{ $Recipients }}</b>,</p> <p>{{ $WorkItem.Caption }} still waiting in your task list. Please review.</p> <p> <a style="display:inline-block; padding:5px; border:outset 1px; background-color: #D7DEF0; text-decoration:none;" href="{{ $DomainUrl }}/app/?/workitem/{{ $WorkItem.Id }}">{{ $WorkItem.Caption }}</a> </p> <p>{{ $WorkItem.Instructions }}</p> <p><u>Details</u> <br></br> <b>Form number</b> {{ $Instance.Number }},<br></br> {{ if $WorkItem.DeadlineDate then <b>Deadline date</b> {{ $WorkItem.DeadlineDate }} }} </p> </div> <div style="margin:0 0 0 0; padding:0.5em 0 0.5em 1em;background-color:#666"> <a href="{{ $DomainUrl }}/"> <img src="{{ $LogoUrl }}" border="0"></img> </a> </div> </body> </html>
Repeating Reminder
<html> <body style="margin:0; padding:0"> <div style="margin:1em"> <p><b>{{ $Recipients }}</b>,</p> <p>{{ $WorkItem.Caption }} still waiting in your task list. Please review.</p> <p> <a style="display:inline-block; padding:5px; border:outset 1px; background-color: #D7DEF0; text-decoration:none;" href="{{ $DomainUrl }}/app/?/workitem/{{ $WorkItem.Id }}">{{ $WorkItem.Caption }}</a> </p> <p>{{ $WorkItem.Instructions }}</p> <p><u>Details</u> <br></br> <b>Form number</b> {{ $Instance.Number }},<br></br> {{ if $WorkItem.DeadlineDate then <b>Deadline date</b> {{ $WorkItem.DeadlineDate }} }} </p> </div> <div style="margin:0 0 0 0; padding:0.5em 0 0.5em 1em;background-color:#666"> <a href="{{ $DomainUrl }}/"> <img src="{{ $LogoUrl }}" border="0"></img> </a> </div> </body> </html>
Deadline
<html> <body style="margin:0; padding:0"> <div style="margin:1em"> <p><b>{{ $Recipients }}</b>,</p> <p>Your {{ $WorkItem.Caption }} task is deadlined and automatically closed.</p> <p> <a style="display:inline-block; padding:5px; border:outset 1px; background-color: #D7DEF0; text-decoration:none;" href="{{ $DomainUrl }}/app/?/workitem/{{ $WorkItem.Id }}">{{ $WorkItem.Caption }}</a> </p> <p><u>Details</u> <br></br> <b>Form number</b> {{ $Instance.Number }},<br></br> </p> </div> <div style="margin:0 0 0 0; padding:0.5em 0 0.5em 1em;background-color:#666"> <a href="{{ $DomainUrl }}/"> <img src="{{ $LogoUrl }}" border="0"></img> </a> </div> </body> </html>
Watch
<html> <body style="margin:0; padding:0"> <div style="margin:1em"> <p><b>{{ $Recipients }}</b>,</p> <p>A new {{ $WorkItem.Caption }} task assigned to {{ $AssignedTo }}. This email is been sent for your information and you can find task in your watch list later.</p> <p> <a style="display:inline-block; padding:5px; border:outset 1px; background-color: #D7DEF0; text-decoration:none;" href="{{ $DomainUrl }}/app/?/workitem/{{ $WorkItem.Id }}">{{ $WorkItem.Caption }}</a> </p> <p>{{ $WorkItem.Instructions }}</p> <p><u>Details</u> <br></br> <b>Form number</b> {{ $Instance.Number }},<br></br> {{ if $WorkItem.DeadlineDate then <b>Deadline date</b> {{ $WorkItem.DeadlineDate }} }} </p> </div> <div style="margin:0 0 0 0; padding:0.5em 0 0.5em 1em;background-color:#666"> <a href="{{ $DomainUrl }}/"> <img src="{{ $LogoUrl }}" border="0"></img> </a> </div> </body> </html>
XSLT
Uses industry standard XSLT format but requires some technical skills. For more information please refer to https://www.google.com.tr/search?q=xslt