You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have two engines, and I want to create a job category for each engine. As I read the code, I noticed that the JobService only allows querying jobs by category and does not support querying by tenant ID. Therefore, I added a configuration:
config.addEnabledJobCategory(tenantId);
to SpringProcessEngineConfiguration But it doesn't work. As I delved deeper into the code, I discovered that there were two instances of the JobUtil class being used to create new Job objects:
org.flowable.engine.impl.util.JobUtil
and
org.flowable.cmmn.engine.impl.util.JobUtil
And the way it creates a job is by utilizing the extension element named 'jobCategory' of the BPMN modell:
Problem
I have two engines, and I want to create a job category for each engine. As I read the code, I noticed that the JobService only allows querying jobs by category and does not support querying by tenant ID. Therefore, I added a configuration:
to
SpringProcessEngineConfiguration
But it doesn't work. As I delved deeper into the code, I discovered that there were two instances of the JobUtil class being used to create new Job objects:and
And the way it creates a job is by utilizing the extension element named 'jobCategory' of the BPMN modell:
I have to add the following XML snippet in every BPMN node:
My question is, is there any way to configure the engine to create jobs with a single category using a global configuration?
The text was updated successfully, but these errors were encountered: