Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

OOTB WORKFLOW PURGE in AEMasCloud configuration-Request

Avatar

Level 3

Hi Team,

        Kindly help me to configure OOTB WORKFLOW PURGE on AEMasCS. though we have configured under

/apps/XYZ-project/osgiconfig/config.author/com.adobe.granite.workflow.purge.Scheduler~demoworkflowpurge.cfg.json , its not working as expected on aemcloud.

1) Kindly help us to troubleshoot, are we missing any configurations?

 

2) Also let us know where this class file exists com.adobe.granite.workflow.purge.Scheduler?  when we decompile the aemsdk file, this class file does not exists under com.adobe.granite.workflow.purge.Scheduler.

 

 

.

rajathannasi_0-1710303587653.png

rajathannasi_1-1710303610405.png

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

HI @raja-thannasi ,

 

1) For OSGi configuration factory file names should use the <factoryPID>-<name>.cfg.json naming convention. So in this case try naming the file as com.adobe.granite.workflow.purge.Scheduler-demoworkflowpurge.cfg.json
2) Check Adobe Granite Workflow Core bundle for the respective class that you are searching (com.adobe.granite.workflow.core)

 

Above config should enable the configurations and you can cross verify the config in AEMaaCS via admin console. From schedular perspective Workflow purge may be running on weekly basis. In case you want change the frequency then you need to override the OOTB maintenance config in apps.  Hope this will help for resolving the issue.

Ref:-

1) https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/operations/maintena...

2)https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/deploy...

 

Thanks,

Somen

View solution in original post

6 Replies

Avatar

Community Advisor

HI @raja-thannasi ,

Where you are testing this configuration. Also can you try to change the name of your configuration as com.adobe.granite.workflow.purge.Scheduler.demoworkflowpurge.cfg.json and see if that works? 

To verify the appropriate OSGi configuration values are applied:

  1. In the Developer Console’s Configuration output
  2. Locate the pid representing the OSGi configuration to verify; this is the name of the OSGi configuration file in the AEM project’s source code.
  3. Inspect the properties list for the pid and verify the key and values match the OSGi configuration file in the AEM project source code for the runmode being verified.=

 

Thanks
Tarun

Avatar

Correct answer by
Community Advisor

HI @raja-thannasi ,

 

1) For OSGi configuration factory file names should use the <factoryPID>-<name>.cfg.json naming convention. So in this case try naming the file as com.adobe.granite.workflow.purge.Scheduler-demoworkflowpurge.cfg.json
2) Check Adobe Granite Workflow Core bundle for the respective class that you are searching (com.adobe.granite.workflow.core)

 

Above config should enable the configurations and you can cross verify the config in AEMaaCS via admin console. From schedular perspective Workflow purge may be running on weekly basis. In case you want change the frequency then you need to override the OOTB maintenance config in apps.  Hope this will help for resolving the issue.

Ref:-

1) https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/operations/maintena...

2)https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/deploy...

 

Thanks,

Somen

Avatar

Level 5

Hi @somen-sarkar , thanks for your response, let me validate the points above you mentioned.

Avatar

Administrator

@raja-thannasi Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.



Kautuk Sahni

Avatar

Administrator

@rajat168 Can you mark the answer correct? Or if you identified an answer that was not shared by other users, can you share that here for posterity?



Kautuk Sahni