org.apache.sling.event.jobs.QueueConfiguration~workflow : How can we override this config only for specific workflow model in AEM cloud | Community
Skip to main content
Adobe Employee
September 26, 2024
Solved

org.apache.sling.event.jobs.QueueConfiguration~workflow : How can we override this config only for specific workflow model in AEM cloud

  • September 26, 2024
  • 1 reply
  • 899 views
{
"queue.maxparallel": "0.5",
"queue.name": "Granite Workflow Queue",
"queue.preferRunOnCreationInstance": true,
"queue.priority": "MIN",
"queue.queryableJobs": false,
"queue.topics": "com/adobe/granite/workflow/job*",
"queue.type": "TOPIC_ROUND_ROBIN"
}

 

By default we have above config added for aem workflows to run as job , How can we add this config in aem cloud so that it only impact specific custom workflow,

As per https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/granite-workflow-queue-max-parallel/m-p/175352#M105589

Can we add config as below:

fiilename: org.apache.sling.event.jobs.QueueConfiguration~workflow-customwfmodal.cfg.json 

{
"queue.maxparallel": "0.5",
"queue.name": "Granite Workflow Queue",
"queue.preferRunOnCreationInstance": true,
"queue.priority": "NORM",
"queue.queryableJobs": false,
"queue.topics": "com/adobe/granite/workflow/job/conf/global/settings/workflow/models/test-custom-wf-model",
"queue.type": "ORDERED"

Any insights will be helpful.

Thanks

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 PriyankaKu

Thanks for the links, they are really helpful.

 

I tried below and it's working now:

Instead of conf location job topic should have /var location workflow model then it's ordered the specific workflow.

 

1 reply

Saravanan_Dharmaraj
Community Advisor
Community Advisor
September 26, 2024
PriyankaKuAdobe EmployeeAuthorAccepted solution
Adobe Employee
September 30, 2024

Thanks for the links, they are really helpful.

 

I tried below and it's working now:

Instead of conf location job topic should have /var location workflow model then it's ordered the specific workflow.