Expand my Community achievements bar.

SOLVED

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

Avatar

Employee
{
"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...

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

Topics

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

1 Accepted Solution

Avatar

Correct answer by
Employee

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.

 

View solution in original post

2 Replies

Avatar

Community Advisor

@PriyankaKu Please check out this blog for Cloud service and each parameters affect.

https://saurabhkharesk.medium.com/sling-jobs-in-aem-as-a-cloud-service-c7db07f6f97

 

Please see the below docs for example to find the topics for a given workflow 

https://experienceleague.adobe.com/en/docs/experience-manager-65/content/implementing/deploying/conf...

 

 

Avatar

Correct answer by
Employee

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.