Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

ACS Commons Workflow Purge

Avatar

Avatar
Validate 1
Level 2
RonnieForum
Level 2

Likes

3 likes

Total Posts

24 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 1
Give Back 3
View profile

Avatar
Validate 1
Level 2
RonnieForum
Level 2

Likes

3 likes

Total Posts

24 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 1
Give Back 3
View profile
RonnieForum
Level 2

31-08-2020

I am trying to setup an OSGi config for workflow purge activities as mentioned in 

https://adobe-consulting-services.github.io/acs-aem-commons/features/workflow-remover/index.html

 

How do I setup the OSGi configuration such that it purges workflow instances which are in completed state for more than 60 days. workflow.older-than property does not seem to work like that but it takes specific date as input. 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 500
MVP
Vijayalakshmi_S
MVP

Likes

511 likes

Total Posts

647 posts

Correct Reply

213 solutions
Top badges earned
Boost 500
Give Back 50
Give Back 5
Ignite 10
Ignite 5
View profile

Avatar
Boost 500
MVP
Vijayalakshmi_S
MVP

Likes

511 likes

Total Posts

647 posts

Correct Reply

213 solutions
Top badges earned
Boost 500
Give Back 50
Give Back 5
Ignite 10
Ignite 5
View profile
Vijayalakshmi_S
MVP

01-09-2020

Hi @RonnieForum,

If you are looking for purge based on days old, you can make use of OOB Workflow Purge

Tools -> Operations -> Maintenance -> Weekly Maintenance window -> Workflow Purge -> Configure

Vijayalakshmi_S_0-1598968841929.png

 

Answers (3)

Answers (3)

Avatar

Avatar
Give Back 10
MVP
shelly-goel
MVP

Likes

180 likes

Total Posts

337 posts

Correct Reply

88 solutions
Top badges earned
Give Back 10
Validate 1
Shape 1
Ignite 1
Give Back 5
View profile

Avatar
Give Back 10
MVP
shelly-goel
MVP

Likes

180 likes

Total Posts

337 posts

Correct Reply

88 solutions
Top badges earned
Give Back 10
Validate 1
Shape 1
Ignite 1
Give Back 5
View profile
shelly-goel
MVP

22-04-2021

@RonnieForum  Instead of using workflow remover, you can leverage workflow purge oob for your purpose

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/re-acs-commons-workflow-pu...

here you will provide days in configurations "scheduledpurge.daysold"

Avatar

Avatar
Validate 1
Level 2
RonnieForum
Level 2

Likes

3 likes

Total Posts

24 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 1
Give Back 3
View profile

Avatar
Validate 1
Level 2
RonnieForum
Level 2

Likes

3 likes

Total Posts

24 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 1
Give Back 3
View profile
RonnieForum
Level 2

21-04-2021

@Vijayalakshmi_S @kautuk_sahni

 

Is it possible to have the workflow instances records after they are purged for audit purpose ? 

Avatar

Avatar
Validate 1
Level 2
RonnieForum
Level 2

Likes

3 likes

Total Posts

24 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 1
Give Back 3
View profile

Avatar
Validate 1
Level 2
RonnieForum
Level 2

Likes

3 likes

Total Posts

24 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 1
Give Back 3
View profile
RonnieForum
Level 2

11-02-2021

@Vijayalakshmi_S I am using OOTB workflow purge as you suggested. However, I am seeing that there is already an existing scheduler which looks for all workflow instances in completed state for all models which are 30 days old. My configuration looks for specific models and which are 60 days old. 

 

From logs I can see that the other existing scheduler executes always. How do I make the Maintenance weekly scheduler to use my custom config rather than the existing one.