Is there a way I can receive the comments inputted at an approval stage in Comala in the notification email?
I have already set up email notifications and works well, but would also like to have the comments when the stakeholders approve/decline the process shown in the email body.
Hello @Anthony Aquilina, @Libor Šmíd
You can use the @comment@ value reference in a custom notification using the send-email macro, e.g.:
{workflow}
{state:Draft|approved=Approved}
{approval:Review}
{state}
{state:Approved}
{state}
{trigger:pageapproved|approval=Review}
{send-email:user=@author@|subject=Document approved}
@page@ has been approved by @user@ with comment @comment@
{send-email}
{trigger}
{workflow}
For more detail see:
If you need more help with your specific use case, you can reach out to our friendly support team at https://support.comalatech.com
All the best
James
Senior Product Manager
note: a previous version of this answer referred to the @approvalcomment@ which only works in some cases
Hi James,
thank you for your information.
Unfortunately, I have already tried to add this value, even others (just for sure), but anything does not work, except value "@pageactivity@".
macro:
e-mail:
That is why I asked for help :-)
It seems that this should work, so in that case, as you mentioned, will be better to contact your support.
Thank you once again.
Libor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Libor,
Please, could you try using the value reference @Comment@@
{trigger:pageapproved|approval=Review}
{send-email:user=@author@|subject=Document approved}
@page@ has been approved by @user@ with comment @comment@
{send-email}
{trigger}
Best regards,
Jorge
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jorge,
Thank you for your reply. I have already tried and, unfortunately, even this value does not work as I expected.
But I have contacted Comalatech support and they were been able to help me.
It is necessary to add also the name of approval steps. It means, If you have more approval steps e.g. step1, step2, step3 etc. you must add every step's name in front of value @approvalcomment@ such as @step1 > approvalcomment@. And this whole value to add to the e-mail body. After adding this value, the approval comment from approval step "step1" is shown in the e-mail.
More details is here: https://wiki.comalatech.com/display/CDML/Attribute%2BReferences
Libor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
could I ask, if there is any way, how to do that?
Thank you in advance.
Libor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.