











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)
- Alexander Stuckenholz (alexander.stuckenholz)
- alfons bataller Díaz (alfons.bataller.diaz)
- chris robson (chris.robson)
- Deepa Tekumalla (deepa.tekumalla)
- Gabriel Giordano (gabriel.giordano)
- gianni naccio (gianni.naccio)
- Ilo Rivero (ilo.rivero)
- Jose Gregorio Castillo (jose.gregorio.castillo)
- Leonardo Lopes (leonardo.lopes)
- Leonardo Saraiva (leonardo.saraiva)
- manindra mallick (manindra.mallick)
- Marcin Urbanski (marcin.urbanski)
- Milos Vacek (milos.vacek)
- nie pin (nie.pin)
- Oleg Pozdnyakov (o.pozdnyakov)
- Pavel Lekhanov (lehanov)
- Ravinderjit Singh (ravinderjit.singh)
- Tamara Dobrynina (tamara.dobrynina)
- Wael Soliman (wael.soliman)
Samples-5.1
Multiple Start Messages Multiple Start Messages
multiplestartmessages 04/02/2008,05:26 16.30 Kb
Description
This use case illustrates the functionality of "Multiple Start Messages" which receives two inputs from user and allows him to obtain desired output.
Use case dependencies
message1.xsd: Schema used is "start1" which is of "string" type.
message2.xsd: Schema used is "start2" which is of "string" type.
Requirements
-
Intalio|BPMS Server-5.1.1
-
Intalio|BPMS Designer-5.1.1
Process Download & Import
-
Download 'MultipleStartMessages.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
-
Make sure Intalio|BPMS Server is up and running fine.
-
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 File > New, select “Intalio|BPMS Business Process Project”.
-
Provide Project name as “MultipleStartMessages”, Click on Finish.
-
Right click on the project; go to New >, select "Business Process Diagram".
-
Provide diagram name as "MultipleStartMessages", and click on Finish.
-
A pool with a task is available in BPMN Editor Pane, name default pool as "Client" and task as "send1".
-
Right click on client pool and select "Set pool non executable".
-
Focus on pool, a pop menu will be available; select "Add Parallel Gateway" to add onto client pool.
-
Focus on Parallel Gateway; a sequence flow icon will be available on boundary of the gateway, drag outgoing sequence flow icon from Parallel Gateway to "send1" task.
-
Again focus on Parallel Gateway; drag outgoing sequence flow icon and release mouse control to select the option "Connect to a new Task", name the task as "send2".
-
Add new pool by click on BPMN Editor (select "Add Pool" option from pop up menu) and name it as "MultipleStartMessages".
-
"Add Exclusive Event-Based Gateway" to MultipleStartMessages pool.
-
Focus on Exclusive Event-Based Gateway; drag out going sequence flow icon to "Connect to a new Message Intermediate Event", name this event as "receive1".
-
Repeat step-12 and name new event as "receive2".
-
Focus on send1 task in client pool, drag the out going message icon from boundary and connect to "receive1" message intermediate event in "MultipleStartMessages" Pool.
-
Focus on "receive1" message intermediate event, drag sequence flow icon from boundary and select option to "Connect to a new Task", name it as "reply1".
-
Drag the outgoing message icon from "reply1" task and connect to "send1" task in the Client Pool.
-
Focus on "receive2" message intermediate event, drag sequence flow icon from boundary and select option to "Connect to a new Task", name it as "reply2".
-
Drag the outgoing message icon from "reply2" task and connect to "send2" task in the Client Pool.
-
Import schema files from zip file into the project (You can also create your own schema from File > New > Other > XML > XML Schema).
-
Drag and drop message.xsd > tns:start1 schema node on to incoming message flow from "send1" task to "receive1" message intermediate event.
-
A message "Set schema element 'start1' as the content of the message" will prompt you, click on it.
-
Drag and drop message.xsd > tns:start2' schema node on to incoming message flow from "send2" task to "receive2" message intermediate event.
-
A message "Set schema element 'start2' as the content of the message" will prompt you; click on it & save process model.
Defining Outgoing Mapping
-
Make sure Mapper view is visible (go to Windows > Show View > Mapper).
-
In the process model select "reply1" task.
-
Drag and drop “fn:concat” function in the mapper area from “Functions on strings -> Functions on string values”
Note: a text box will be available with concat function. -
In the mapper window click on “creates a new operator” again click on mapper area.
Note: It will display a text box in the mapper area. -
Provide “world” with the double codes in the text box.
-
Click on "$thisReceive1RequestMsg.body" node in left side of mapper and then click on left edge of the “concat()” function.
-
Click on the right edge of the “ World” and again click on the left edge of the “concat()” function.
-
Click on right side of the “concat()” function and again click on“$thisReceive1ResponseMsg.body” node in right side of the mapper.
-
Select "reply2" task in process model.
-
Drag and drop “fn:string-length” in middle of mapper are from the “Functions on strings -> Functions on string values”.
-
Click on "$thisReceive2RequestMsg.body" node in left side of mapper and then click on right side of the string-length” function.
-
Click on right side of “string-length” and again click on “$thisReceive2ResponseMsg.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). -
Bpms-console will be available with deployed processes list.
-
You should see "MultipleStartMessages:MultipleStartMessages" process with a package name "MultipleStartMessages", select it and click on Start.
-
This should generate a form with two check box fields naming "receive1" and "receive2".
-
Check the checkbox for "receive1" and click on Invoke.
-
Again a form generates with an input field to map input data.
-
Type 'Hello' in start1 field, then click on Submit button.
-
This will replace the page with an output like "receive1Response: Hello World".
-
Similarly, you can obtain results for other check box "receive2".

