AEM 6.4.1.0 - Workflow history in page properties [display info in custom tab] | Community
Skip to main content
cquser1
Level 7
March 15, 2019

AEM 6.4.1.0 - Workflow history in page properties [display info in custom tab]

  • March 15, 2019
  • 1 reply
  • 4881 views

Hi All,

1] In OOTB AEM, http://localhost:4502/libs/cq/workflow/admin/console/content/instances.html it displays list of running workflow instances and on selecting any one particular entry and clicking on "Open History", it shows up the "Workflow Instance History" tab with the details.

2] We want this similar feature to be implemented in the page properties i.e, wherein if I click on "Page-> Open Properties"[for example : http://localhost:4502/mnt/overlay/wcm/core/content/sites/properties.html?item=/content/we-retail/us/en/men ]. we should have a new tab say "history" and we should be able to see the workflow history for that concerned page.

Any thoughts/pointers/reference on how do we go about this will be really really helpful.

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

1 reply

Gaurav-Behl
Level 10
March 15, 2019

Wouldn't 'Timeline' feature suffice for this requirement? Within 'Timeline' you could choose 'workflow' or 'show all' based on your use case.

cquser1
cquser1Author
Level 7
March 16, 2019

Hi Gaurav,

They want a similar thing as it comes up when the below is done, for the concerned page :

http://localhost:4502/libs/cq/workflow/admin/console/content/instances.html

it displays list of running workflow instances and on selecting any one particular entry and clicking on "Open History", it shows up the "Workflow Instance History" tab with the details.

cquser1
cquser1Author
Level 7
March 16, 2019

Well, in that case, debug OOB code for the link you mentioned and find if you can utilize the same with a page path being passed to it dynamically.


Hi Gaurav,

Thank you for your reply. Will check on this.

If we have a page and we need to know what is the most recent workflow instance associated with that page[suppose there are 2 different workflows it is associated with].

1] How do we find that out. Tried couple of things, but no luck. Any pointers/reference code will be helpful.

2] Also, was just checking on feasibility of another option.

Suppose we have any workflow running on a page and if we hit the below url, it gets us all of the wf history data in a json format.

Can this be leveraged to meet our requirement.

http://localhost:4502/libs/cq/workflow/content/console/history.json?workflow=/var/workflow/instances/server0/2019-03-15/…

Any pointers/reference code will be really helpful.