How to reference the latest deployment unit when starting a process using Remote REST API

Solution Unverified - Updated -

Issue

  • We are using Remote REST API to start process instance, but it fails with exception if we use LATEST in deploymentID
Exception in thread "main" org.kie.services.client.api.command.exception.RemoteApiException: DeploymentNotFoundException thrown with message 'No runtime manager could be found for deployment 'org.kie.example:project1:LATEST'.':
org.kie.remote.services.exception.DeploymentNotFoundException: No runtime manager could be found for deployment 'org.kie.example:project1:LATEST'.
    at org.kie.remote.services.cdi.DeploymentInfoBean.getRuntimeEngine(DeploymentInfoBean.java:112)
    at org.kie.remote.services.cdi.DeploymentInfoBean$Proxy$_$$_WeldClientProxy.getRuntimeEngine(DeploymentInfoBean$Proxy$_$$_WeldClientProxy.java)
    at org.kie.remote.services.cdi.ProcessRequestBean.doKieSessionOperation(ProcessRequestBean.java:176)
    at org.kie.remote.services.cdi.ProcessRequestBean.processCommand(ProcessRequestBean.java:132)
    at org.kie.remote.services.cdi.ProcessRequestBean$Proxy$_$$_WeldClientProxy.processCommand(ProcessRequestBean$Proxy$_$$_WeldClientProxy.java)

Environment

  • Red Hat JBoss BPM Suite
    • 6.0.x
  • Red Hat BRMS
    • 6.0.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.