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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content