How to add name of previous month in Comala workflow generated email

Summer Lindsay August 23, 2022

I am triggering an email via Comala workflow and attempting to get it to include the name of the previous month.  Through other topic/question answers, I have tried to add this to the body portion of the email:

{lastmonthname]

{{now.minusMonths(1).format("MMMM")}} 

(startOfMonth("-1M"),startOfMonth())

 

Here is the portion of the workflow I am working on

{send-email:user=@Approvers@|subject=Please review and approve @pagetitle@|mimetype=text/html}
The @pagelatest@ for {lastmonthname} is ready for your review and approval.

1 answer

0 votes
James Conway
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 29, 2022

Hello @Summer Lindsay 

Comala Document Management does not support smart values or functions in the way your examples are written.

Have you defined the name of the previous month as a metadata value or page property? Then you can use custom value references.

If you have any further questions with your use case, you can contact our friendly Customer Support team at https://support.comalatech.com

Kind regards

James

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events