Questo contenuto non è disponibile nella lingua selezionata.
9.4. Instantiating a Deployment
- Create a new process instance once the process definition is deployed. (Note that you can use the
StartProcessInstanceCommand. This command allows you to create a process instance with some pre-set initial values.)Copy to Clipboard Copied! Toggle word wrap Toggle overflow - The new process instance is now invoked and using a script. The jBPM key is set to the value of the OrderId by an incoming order XML file.This same XML is subsequently put into a jBPM context, through use of the
esbToBpmVarsmapping.In thebpm_orchestration4quick start, the XML came from theSeam DVD Storeand theSampleOrder.xmllooks like this:Copy to Clipboard Copied! Toggle word wrap Toggle overflow Note
Enterprise Service Bus and JBoss Business Process Manager deployments are what is known as "hot."The jBPM has a special feature that results in process deployments being "versioned". Newly created process instances will use the latest version, while existing ones will run to their conclusion using the process deployment they were started on.