Does jBPM 6 support the use of a custom class to generate task ID ?
Issue
-
Some application architecture involves
active-activeenvironments to be set-up withBPMS 6installations. So tasks created for aBPMN2process are being created in both environments and then it is required for them to be replicated between both the environments. This setup causes possible clashes between task ids during replication of session data. Some customers might consider a workaround where the task id generation for the two different schema is set up to use only odd numbers for one, and only even numbers for the other. However, this workaround would not scale if some additional environments are added in the infrastructure in the future. Given this potential problem, it would be nice if it was possible to override how task ids are generated byjBPMin order to , for instance, assign a uniqueUUIDto each one. -
It would be nice to have
jBPMto provide functionality for registering a class with thejBPMengine which will be called whenever a new task is created, in order to provide the ID of the new task instance. This might also be useful functionality to provide for generating task id of process instances in certain demanding use cases.
Environment
- Red Hat JBoss BPM Suite (BPMS)
- 6.3.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
