Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.
SOLVED

How to view complete workflow history?

Avatar

Level 2

Hi, we would like to view the full workflow history for a page. For example, we'd like a record of who/when our legal dept. approved a page for publishing.

I found the Workflow History, but it is a huge list, and doesn't show the page's complete history, only the history of the individual workflow. Our history goes back a couple of weeks, and there are over 10,000 entries with no easy way to search for a page (that I could find).

Any suggestions or solutions to help us track a page's complete workflow history? TIA for your help. Steve

1 Accepted Solution

Avatar

Correct answer by
Level 7

Hi,

yes, this informations could be found directly by using TimeLine.

In the following image there is a timeline of a page that is requested for publishing and then validated.

 

refer to this link for more information related to timeline section [0]

[0] https://docs.adobe.com/docs/en/aem/6-2/author/page-authoring/working-with-page-versions.html

Just only if you need more information than this, you could use logs that i explain before.

Let me know.

View solution in original post

5 Replies

Avatar

Level 7

Hi,

if you need to see the page history you should use the timeline of the page [0].

If this is not sufficient for your purpose, i can suggest you to create a new log using Apache Sling Logging Logger Configuration and using like filter the following package:

"com.day.cq.wcm.core.impl.event.RepositoryChangeEventListener" 

with Debug log level.

You need to use rotation and backup/delete strategy in order to avoid out of memory disk related to this log.

If you use this log you could find line like the following that indicates you path, action and user that make some change on the page:

23.05.2017 19:56:52.210 *DEBUG* [sling-oak-observation-6076] com.day.cq.wcm.core.impl.event.RepositoryChangeEventListener jcr event path=/content/geometrixx/en/toolbar/profiles/ajah type=1 external=false userid=admin
23.05.2017 19:56:52.214 *DEBUG* [sling-oak-observation-6076] com.day.cq.wcm.core.impl.event.RepositoryChangeEventListener Created EventInfo{path='/content/geometrixx/en/toolbar/profiles/ajah', type=CREATE, userId='admin', isExternal=false, above='null', nodeType='cq:Page'}

I hope this could be helpful.


[0] https://docs.adobe.com/docs/en/aem/6-2/author/page-authoring/working-with-page-versions.html

Avatar

Level 2

Hi Antonio,

I'm on the marketing side so I don't really understand your response. But I can share it with our development team.

Will this tell us who approved a workflow for publishing, and when it was approved? Is there a way to search the log for a particular page?

What we envision is multiple approval workflows: For example, the page is first approved by legal dept, then approved by business partner.

Then we would want to know, who from the legal dept. approved the page. Would your solution provide that information? Thank you!

ETA, is this something we could do with a Report?

Avatar

Correct answer by
Level 7

Hi,

yes, this informations could be found directly by using TimeLine.

In the following image there is a timeline of a page that is requested for publishing and then validated.

 

refer to this link for more information related to timeline section [0]

[0] https://docs.adobe.com/docs/en/aem/6-2/author/page-authoring/working-with-page-versions.html

Just only if you need more information than this, you could use logs that i explain before.

Let me know.

Avatar

Level 2

Thank you again. I will forward this information to our tech department, and follow up here when I get a response.

Avatar

Level 2

Hmm,  it looks like the Timeline feature is only available in Touch UI, but we use Classic UI. I see the Sidekick >> Information tab >> Audit Log has relevant information, but my audit log only goes back about a month.