Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

EN version

...

DE version

...

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”

...

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

...

Code Block
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <style>
        body { font-family: Arial, sans-serif; }
        .reminder-link { color: #4CAF50; }
        .reminder-link:hover { text-decoration: underline; }
    </style>
</head>
<body>
    <div style="font-size: 1.8em; color: #4CAF50;">You received a new task: ${SYS.TASK_NAME} </div><br/>
    in the process: ${SYS.PROCESSDEFINITION_NAME} <br/>
    Shall we remind you to complete this task?  <br/><br/>
    <a href="${SYS.BASELINK}EscalationManager/createTaskReminderWithOffsetFromNow.void?args[0]=${taskId}&args[1]=1d&i=1" class="reminder-link">Remind me tomorrow.</a><br/>
    <a href="${SYS.BASELINK}EscalationManager/createTaskReminderWithOffsetFromNow.void?args[0]=${taskId}&args[1]=3d&i=1" class="reminder-link">Remind me in three days.</a><br/>
    <a href="${SYS.BASELINK}EscalationManager/createTaskReminderWithOffsetFromNow.void?args[0]=${taskId}&args[1]=1w&i=1" class="reminder-link">Remind me in one week.</a><br/>
    <a href="${SYS.BASELINK}EscalationManager/createTaskReminderWithOffsetFromNow.void?args[0]=${taskId}&args[1]=1m&i=1" class="reminder-link">Remind me in one month.</a><br/><br/>
    Go to task: <a href="${taskLink}">${SYS.TASK_NAME}</a>
</body>
</html>

...