How to start the LATEST version of the process instead of specifing the version using REST API ?
Environment
- Red Hat JBoss BPM Suite
- 6.x
- Red Hat JBoss BRMS
- 6.x
Issue
We are using following URL to start new process with REST:
http://localhost:8080/business-central/rest/runtime/com.redhat:DemoApplication:1.5/process/DemoApplication.DemoProcess/start
Here we are starting version 1.5 of the process.
How can I start the LATEST version of the process instead of specifying the version?
Resolution
To start process instance from latest artifact(kjar) you have to use LATEST in deploymentId,like as:
http://localhost:8080/business-central/rest/runtime/com.redhat:DemoApplication:LATEST/process/DemoApplication.DemoProcess/start
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
