How to programatically retrieve latest deploymentId?

Solution Unverified - Updated -

Issue

There are 2 version of business-central project deployed -> 1.0.0 and 2.0.0
2 different version of the same business process in these deployments with following deployment ids:
com.mycompany.orchestration:mySampleBusinessProcess:1.0.0:kbase:ksession
com.mycompany.orchestration:mySampleBusinessProcess:2.0.0:kbase:ksession

By default, 2nd deployment should be called. If 3rd version will be deployed, from this moment, latest, 3rd version should be called. How can this be achieved?

Environment

  • Red Hat JBoss BPM Suite
    • 6.x
  • Red Hat JBoss BRMS
    • 6.x

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.