We use comala workflows to publish confluence pages. I wrote a little macro to display the publication date. However, depending on the final page status "Published" I want to derive the actual published date. I do NOT want something like the last modification date as done and working here:
$action.dateFormatter.formatGivenString($paramMYDATE,$content.getLastModificationDate())
The problem is, I do not know how to fetch the actual publication date, as the modification date is not what I am looking for:
$content.getLastModificationDate()
In the comala workflow definition, I am able to set custom metadata like this.
@{set-metadata:approveddate}@datetime@{set-metadata}And I can use the comala "Get-Metadata" Plugin to fetch the actual value. But I need to fetch the metadata from a common confluence user-macro.
I want something like:
$content.getApprovedDate()
(My example does not work...)
Is there any easy method to fix my issue? If not, is there any easy way to display the available methods?