











Signup for Training
- Atlanta, GA Dec 3-5
- Melbourne, AU, Dec 9-11
- New York Dec 10-12
- Brussels, BE, Dec 16-18
- Washington, DC, Dec 17-19
More trainings...
Intalio|BPMS Webinars
- Nov 20, 2008 1 PM EST
- Nov 21, 2008 1PM EST
- Nov 26, 2008 10 AM GMT
- Dec 5, 2008 10 AM PST
- Dec 9, 2008 1 PM EST
- Dec 11, 2008 1 PM EST
- Dec 19, 2008 10 AM PST
- Dec 30, 2008 10 AM PST
- Jan 13, 2009 10 AM PST
- Jan 15, 2009 1 PM EST
- Feb 3, 2009 10 AM PST
- Feb 12, 2009 1 PM EST
- Feb 17, 2009 10 AM PST
- Mar 10, 2009 10 AM PST
- Mar 12, 2009 1 PM EST
- Mar 24, 2009 10 AM PST
Login
Who's online?
- (jloge@ebsco.com)
- (paul.fenton@vertex.co.uk)
- Andrey Nazarov (andrey.nazarov)
- chen lin (chen.lin)
- chris robson (chris.robson)
- Deepa Tekumalla (deepa.tekumalla)
- Guerman Smirnov (guerman.smirnov)
- Leo Lee (LeoLee)
- Manesh Nagar (manesh)
- manindra mallick (manindra.mallick)
- Milos Vacek (milos.vacek)
- Oleg Pozdnyakov (o.pozdnyakov)
- Ravinderjit Singh (ravinderjit.singh)
- Sirswendu Ganapati (sirswendu.ganapati)
- Talita Pezzi (talita.pezzi)
- Tamara Dobrynina (tamara.dobrynina)
- Teo Bon (teo.bon)
- Wael Soliman (wael.soliman)
Samples-5.1
Change Schema Change Schema
changeschema 24/03/2008,01:48 9.23 Kb
Description:
This use case explains how to change a schema in a process. Process by itself is very simple one that accepts an input from user and returns the same as output.
Use case dependencies:
message.xsd: The schema used is "start" which is of "string" type.
message1.xsd: The schema used is "start1" which is of "string" type.
Requirements:
1. Intalio|BPMS Server-5.1.1
2. Intalio|BPMS Designer-5.1.1
Process Download & Import:
-
Download "changeschema.zip".
-
Go to File > Import...
-
In Import wizard,select “Existing Projects into Workspace”,click on Next >
-
Select the “Select archive file” radio button.
-
Browse to select downloaded archive file, click on Finish.
-
Update project builders by right click on project; go to BPMS Designer Tools > Update BPMS Builders.
* Please follow these below instructions to remake the process
Preconditions:
1.Make sure Intalio|BPMS server is up and running successfully.
2.Make sure the Process Explorer pane does not contain any Intalio|BPMS Business Process Project with same name.
Steps to remake the process
-
Go to the File > New > select “Intalio|BPMS Business Process Project".
-
Provide project name as "ChangeSchema" and click on Finish.
-
Right click on project, go to New > select “Business Process Diagram" and click on Finish.
-
Provide diagram name as "ChangeSchema" and click on Finish.
-
A pool with a task is available on the modeler window. Name the default pool as "Client" and default task as "send".
-
Right click on Client pool and select "Set pool non executable".
-
Add new pool by click on BPMN Editor (select "Add Pool" option from pop up menu) and name it as "ChangeSchema".
-
Focus on send task; drag out going message flow icon to "ChangeSchema" pool and select the option "Connect to a new Task", name this new task as "receive".
-
Focus on "receive" task and drag the outgoing sequence flow icon to "Connect to a new Task", name this task as “reply”.
-
Focus on “reply” task and drag the out going message icon from boundary and connect to "send" task in the Client Pool.
-
Import schema files from zip file into the project ((or) You can also create your own schema from File > New > Other > XML > XML Schema).
-
Drag and drop message.xsd > tns:start schema node on to incoming message flow from "send" task to "receive" task.
-
A message "Set schema element 'input' as the content of the message" will prompt you, click on it.
-
Go to the "File > New > select “Intalio|BPMS Business Process Project".
-
Provide project name as "ChangeSchema" and click on Finish.
-
Right click on project and go to "New > select “Business Process Diagram" and click on Finish.
-
Provide diagram name as "ChangeSchema" and click on Finish.
-
A pool with a task is available on the modeler window. Name the default pool as 'Client' and default task as 'send'.
-
Right click on Client pool and select "Set pool non executable".
-
Add new pool by click on BPMN Editor (select "Add Pool" option from pop up menu) and name it as "ChangeSchema".
-
Focus on send task; drag out going message flow icon to "ChangeSchema" pool and select the option "Connect to a new Task", name this new task as "receive".
-
Focus on "receive" task and drag the outgoing sequence flow icon to "Connect to a new Task", name this task as “reply”.
-
Focus on “reply” task and drag the out going message icon from boundary and connect to "send" task in the Client Pool.
-
Import schema files from zip file into the project ((or) You can also create your own schema from File > New > Other > XML > XML Schema).
-
Drag and drop message.xsd > tns:start schema node on to incoming message flow from "send" task to "receive" task.
-
A message "Set schema element 'start' as the content of the message" will prompt you, click on it.
Defining Outgoing Mapping:
-
Make sure Mapper view is visible (go to Windows > Show View > Mapper).
-
Select "reply" task in process model.
-
Click on "$thisReceiveRequestMsg.body" node in left side of mapper and then click on "$thisReceiveResponseMsg.body" node in right side of mapper which will make an association.
-
Save the process model.
-
Now your process is fully implemented which is ready to deploy and execute within Intalio|BPMS Server.
Process Deployment & Execution:
-
Click on Deploy Project to Intalio|BPMS Server button in tool bar.
-
Make sure you select all runtime files while exporting to Intalio|BPMS Server.
-
Click on Finish button.
-
Open a web browser, provide url as: http://localhost:8080/bpms-console, which takes to login screen for bpms-console.
-
Login with the following credentials:
username: 'admin' (without quotes).
password: 'changeit' (without quotes). -
In the processes list you should see "ChangeSchema:ChangeSchema" process with a package name "ChangeSchema", select it and click to Start.
-
This should generate a form with an input field.
-
Type “First Schema” in “start” field, then click on Submit button.
-
This will replace the page with an output like "receiveResponse: First Schema".
-
Go back to modeler area in the designer, right click on attached schema element on message
connection from “send” task to “receive” task and select “Unlink attached Schema element”. -
Drag and drop message1.xsd > tns:start1 schema node on to incoming message flow from "send" task to "receive" task.
-
A message "Set schema element 'start1' as the content of the message" will prompt you, click on it.
-
Save the process diagram.
-
Repeat steps 1-6 given under Process Deployment & Execution.
-
Type “Second Schema” in “start1” field, then click on Submit button.
-
This will replace the page with an output like "receiveResponse: Second Schema".
