Show Table of Contents
7.9. JBPM Commands
The JBoss ESB can make calls into the JBoss Business Process Manager by means of the BpmProcessor action. This action utilizes the JBPM Command API. Here are the JBPM commands you can use:
Table 7.2. JBPM Commands
| Command | Description |
|---|---|
NewProcessInstanceCommand | This command starts a new ProcessInstance which is associated with a process definition that has been already deployed to the JBPM. The NewProcessInstanceCommand leaves the process instance in the start state. This is needed in the case of a task being associated with the Start node (such as when there is one on an actor's task-list). |
StartProcessInstanceCommand |
This is identical to the
NewProcessInstanceCommand except that the new process instance is automatically moved from the start position to the first node.
|
GetProcessInstanceVariablesCommand |
Displays the root node variables for a process instance by using the process instance identifier.
|
CancelProcessInstanceCommand |
Cancels an entire
ProcessInstance. (Requires some JBPM context variables to be set on the message, including the ProcessInstance identifier.)
|

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.