How to view complete workflow history? | Community
Skip to main content
steveatvisa
Level 2
May 24, 2017
Solved

How to view complete workflow history?

  • May 24, 2017
  • 5 replies
  • 3739 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by antoniom5495929

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.

5 replies

antoniom5495929
Level 7
May 24, 2017

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

steveatvisa
Level 2
May 24, 2017

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?

antoniom5495929
antoniom5495929Accepted solution
Level 7
May 24, 2017

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.

steveatvisa
Level 2
May 25, 2017

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

steveatvisa
Level 2
May 25, 2017

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.