Email trigger action not working with Comala Doc Manager app

Bruno Simoes
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 24, 2023

Hello, 

I'm trying to modify the "Simple approval workflow" by adding an approval process and triggering an email to be sent to the selected "Reviewers". My intention is to assign the review task to a pre-defined reviewer and have an email notification sent to that person so they know there's a document pending their review/approval.

 

My approval process is working because I received the notification on Confluence however the e-mail is not triggered and don't understand why. Already used the bellow triggers and none of them works:

- statechanged

- pageapprovalassigned

 

The codes that I used for both options are (for safety reasons I put here XXX instead of user/email address:

-> statechanged code:

 

{workflow:name=Simple approval workflow|key=609720391}
{description}
The Simple Approval Workflow has 2 states.
In Progress: Staff edit pages, not visible to non-team members. Approved: Staff approve, visible to public.
{description}
{state:In Review|approved=Approved|taskable=true|colour=#0052CC}
{approval:BPM|user=&xxx}
{state}
{state:Approved|final=true|updated=In Review|hideselection=true}
{state}
{trigger:statechanged|state=In Review}
{send-email:BPM|user=&xxx|subject=Please review this process!}
Please review the @page@ for approval!
{send-email}
{trigger}
{workflow}

 

-> pageapprovalassigned code:

 

{workflow:name=Simple approval workflow|key=609720391}
{description}
The Simple Approval Workflow has 2 states.
In Progress: Staff edit pages, not visible to non-team members. Approved: Staff approve, visible to public.
{description}
{state:In Review|approved=Approved|taskable=true}
{approval:BPM|user=&xxx}
{state}
{state:Approved|final=true|updated=In Review|hideselection=true}
{state}
{trigger:pageapprovalassigned|approval=Review}
{send-email:address=xxx@xxx.com|subject=Page ready for approval!}
The page @page@ is waiting for your approval.
{pageactivity}
{send-email}
{trigger}
{workflow}

 

While running the code no error message is appearing, however when I translate the code these errors messages are appearing:

 

The following elements are not supported:

  • trigger

The following parameters are not supported:

state

  • hideselection, taskable

approval

  • preassignedUsers (or "statechanged" in the other trigger option)

 

I already tried everything and I do not understand why these trigger options are not supported. Is it related with Comala Version? I'm using the Comala Doc Management Server app version 6.17.XX.

Hope someone can help me here. Thanks!

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events