Dobrý den,
#if($tasks.size() == 1)
byl Vám přiřazen nový schvalovací úkol:
#else
byly Vám přiřazeny nové schvalovací úkoly:
#end
Schvalovací úkol
#foreach( $task in $tasks )
$esc.xml($task.getTaskNameCs())
#end
#if($restCount> 0)
#if($restCount <5)
a $restCount další
#else
a $restCount dalších
#end
#end
Celkově máte $totalCount
#if($totalCount == 1)
úkol
#elseif($totalCount <5)
úkoly
#else
úkolů
#end
ke schválení, dokončete
#if($tasks.size() == 1)
ho,
#else
je,
#end
prosím, v systému CzechIdM. Zobrazit
#if($tasks.size() == 1)
ho
#else
je
#end
můžete zde.
S pozdravem BCV Solutions s.r.o.
-------------------------------------------------------------------------------------
Hello,
You have been assigned new
#if($tasks.size() == 1)
task
#else
tasks
#end
for approval:
Task for approval
#foreach( $task in $tasks )
$esc.xml($task.getTaskNameEn())
#end
#if($restCount> 0)
and $restCount more
#end
You have a total of $totalCount
#if($totalCount == 1)
task
#else
tasks
#end
for approval. Please complete
#if($totalCount == 1)
it
#else
them
#end
in the CzechIdM system. You can access
#if($totalCount == 1)
it
#else
them
#end
here.
Regards BCV Solutions Ltd.
==== Approval task reminder notification ====
It is possible to create a regularly scheduled long running task to remind people about their assigned and still running approval tasks.\\
{{.:pasted:20260309-155415.png}}
The long running task can send the notifications either to the approvers themselves or to their managers - the topics for those two notifications can be set independently.
The long running task sends one (or two - if configured to send it both to approvers and their managers) notifications for every user that has at least one running approval task with age between the minimum number of days and maximum number of days (both boundaries are inclusive). Inside this notification, at most [tasksToSend] of those tasks are listed.
=== \\
Parameters of the long running task: ===
- minimum days open: how long at least an approval task has to be open to be included in the notification.
- maximum days open: how long at most can an approval task be open to be included in the notification.
- tasks to send: how many tasks are listed in the notification itself (the rest are only mentioned as "and X more")
- notify approvers: whether or not the notification should be sent to the approvers
- notify managers: whether or not the notification should be sent to the managers of the approvers
- topic for approvers: topic for the approver notification, the task will expect a notification configuration with this topic and level INFO
- topic for managers: topic for the manager notification, the task will expect a notification configuration with this topic and level INFO
=== Parameters passed to the notification template: ===
- tasks: list of running tasks with age within minimum days and maximum days - contains at most [tasksToSend] items
- url - url to the list of the user's tasks - in approver notification only
- restCount - count of running tasks within the specified timespan not included in 'tasks'
- totalCount - count of all running tasks (regardless of age) assigned to the user
- approver - the approver assigned to the tasks in this notification
=== Use case for escalating notifications: ===
If you want to configure a way to notify the approvers with increasing level of urgency, it is possible to set up multiple non-overlapping reminder tasks such as:
- First long running reminder task with minimum days open 7, maximum days open 13 and a custom topic for low urgency reminder that only notifies the approver.
{{.:pasted:20260310-094907.png}}
- Second long running task with minimum days open 14, maximum days open 20 and a custom topic for medium urgency reminder that only notifies the approver but the notification mentions that next week the manager will be notified.
{{.:pasted:20260310-094907.png}}
- Third long running task with minimum days open 21, no maximum days open and two custom topics for high urgency reminders - one for the approver and one for their manager.
{{.:pasted:20260310-094907.png}}
Note that for this to work there have to be notifications configurations for all of the topics with the NotificationLevel INFO. There doesn't have to be any notification configuration for the 'none' topic - any value in the topic field for which the checkbox is left unchecked will be ignored as no notification is sent with that topic.