The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

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 Champions.
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

TAGS
AUG Leaders

Atlassian Community Events