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.)
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.