Creating a BPEL Process That Migrates Process Instances to a New Version
Creating a BPEL Process That Migrates Process Instances to a New Version
Use the following procedure:
In the Project Explorer, create a new orchestration project.
Select
File > New > BPEL Process
.
Name the process and click
Finish
.
Create a receive/reply based on a WSDL you create. The request message for the process must provide a Plan Id and one or more process Ids of running process instances.
In the Participants view, create a new Partner Service Provider.
Select System Services.
Select
Migration
.
From Participants view, drag the
create map
operation to the canvas to create an invoke activity. This activity takes as input the process plan Id and creates a map of the process structure.
From the Participants view, drag the
migrate
operation below the create map invoke to create a second invoke activity. This activity takes as input the migration map and process id and migrates the running process instance to the online version of the same plan Id, by default. You can specify any Plan Id, depending on the structure of your process.