How can we have assigned tasks content different for different workflows
Hello,
I’m trying to have different content for custom workflows with some additional informaiton in the assigned tasks email notification. I found that the right place to modify the assigned tasks template is “user-task-assigned-en.vm”. But not sure what’s the right variable I should use within the template to identify different process ids (workflows). Can anyone please share any example.
Thanks,
Praveen.,
praveenramkumar
Posted 3 years ago · Edited 2 years ago·Last reply 3 years ago
3 comments
praveenramkumar
OP3 years ago · EditedThanks Arthur.
Can emails from a MailTask can actually be a part of grouped emails ?
Unfortunately I cannot find what I’m looking for in the ootb email templates as they’ve used generalized content. I’ve done providing different content for different w/fs by using if statement within the assigned tasks email templates based on process id of the workflow in the past. But I just forgot the variable that I should use within the if statement for the process id.
Thanks,
Praveen.
arthurburkhardt
·3 years ago · EditedNo, mailtasks cannot be grouped.
More info in the collibra knowledgebase:
Adding Custom Email Templates – Collibra | Product Resource Center
arthurburkhardt
·3 years ago · EditedThere is a poorly documented “mail.sendMails” method (your best bet is to look at OOTB workflow and API documentation to see how it works), but nowadays, most people prefer to use flowable mailtasks instead.
There are many posts on the topics here:
Search results for ‘mailtask’ - the Data Citizens community (collibra.com)
If it’s still not working for you, a coaching session would give you a lot of insights on how this works.
Given the level of documentation, I am not sure that “mail.sendMails” and templates are actually a supported feature at this time.