Does jBPM 6 support the use of a custom class to generate task ID ?

Solution Unverified - Updated -

Issue

  • Some application architecture involves active-active environments to be set-up with BPMS 6 installations. So tasks created for a BPMN2 process 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 by jBPM in order to , for instance, assign a unique UUID to each one.

  • It would be nice to have jBPM to provide functionality for registering a class with the jBPM engine 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.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.