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.
.
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
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:-
Thanks,
Somen
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:
pid
representing the OSGi configuration to verify; this is the name of the OSGi configuration file in the AEM project’s source code.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
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:-
Thanks,
Somen
Hi @somen-sarkar , thanks for your response, let me validate the points above you mentioned.
@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.
Views
Replies
Total Likes
yes @kautuk_sahni , kindly close this forum.Thanks!.
@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?
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies