Hello everyone,
I am looking for an easy way, to display an actor (reviewer), who changed the workflow state of an article and the date when a certain state was reached (published date).
Thank you for your advice.
Best regards, Lukas
Hi @Lukáš Krtička
Thanks for your question, could you confirm:
Thanks in advance
JamesSenior Product Manager
Hi James,
Thanks for reaching out. 1. Server 6.15.22. We are using only Comala Document ManagementThank you
Hi @Lukáš Krtička ,
Thank you for your confirming. It is possible to show this information on your page, using a workflow trigger to set metadata values, and displaying these values in the page header. To get started, I recommend that you use the workflow builder markup editor (https://wiki.comalatech.com/display/CDML/Markup+Editor+in+workflow+builder) to add the following markup.
Note that you should change approval=Review and @Review> to the name of the approval you want to display.
||Document Status|{pagestatus}|<br> ||Approved By|{get-metadata:approvedby}|<br> ||Approval Date/Time|{get-metadata:approveddate}|<br>{pageheader}<br>{trigger:pageapproved|approval=Review}<br> {set-metadata:approvedby}@Review>approvers>wiki-link@{set-metadata}<br> {set-metadata:approveddate}@datetime@{set-metadata}<br>{trigger}{pageheader:visibility=all}<br>
||Document Status|{pagestatus}|<br>
||Approved By|{get-metadata:approvedby}|<br>
||Approval Date/Time|{get-metadata:approveddate}|<br>
{pageheader}<br>
{trigger:pageapproved|approval=Review}<br>
{set-metadata:approvedby}
@Review
>approvers>wiki-link@{set-metadata}<br>
{set-metadata:approveddate}
@datetime
@{set-metadata}<br>
{trigger}
You can find more details on each macro here: https://wiki.comalatech.com/display/CDML/Macros.
I hope that helps, let me know if you have any further questions.
Kind regards
James
Hi @James Conway ,
thank you for explaining.
We have the same problem and I test your solution for our requirements to display the approval date in the page properties table.
{trigger:pageapproved|approval=Publish} {set-metadata:approveddate}@datetime@{set-metadata}{trigger}
In page properties table I use get metadata macro to receive the date and time. It works perfect. But next time the page will be approved, this date is changed to new approval date even in the older version of the page.
This is not what we need. For Version 2 of the page we need the approvaldate for this version and in Version 7 the approval of this version....
In Activity Report there is always the date and time of respectiv approval and it does not change to new the next time the approval is executed aigain.
Is it possible to diplay this dates in Page Property Table?
Kind regards and thank you in advance
Ilona
It looks like you're new here. Sign in or register to get started.