











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?
- (paul.fenton@vertex.co.uk)
- (jloge@ebsco.com)
- Alexander Stuckenholz (alexander.stuckenholz)
- chris robson (chris.robson)
- Deepa Tekumalla (deepa.tekumalla)
- Guerman Smirnov (guerman.smirnov)
- Ilo Rivero (ilo.rivero)
- 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)
- Sirswendu Ganapati (sirswendu.ganapati)
- Tamara Dobrynina (tamara.dobrynina)
- Teo Bon (teo.bon)
- Wael Soliman (wael.soliman)
Samples-5.1
MultipleChoiceBranching MultipleChoiceBranching
multiplcechoicebranching 04/02/2008,05:37 15.16 Kb
Description:
This use case sample illustrates choice by use of "Data-Based Exclusive Gateway" that is used to generate "multiple choice branching (switch)". In this process user can make any choice out of multiple choices given and get output according to choice made.
Use case dependencies
message.xsd: Schema used is "start" which is of "string" type.
Requirements
1. Intalio|BPMS Server-5.1.1
2. Intalio|BPMS Designer-5.1.1
Process Download & Import
- Download MultipleChoiceBranching.zip
-
Go to File > Import.
-
In the Import wizard, select General>Existing Projects into Workspace, Click Next>
-
Select the “Select archive file” radio button.
-
Browse to select the downloade archive file.
-
Click Finish will create a new project called "MultipleChoiceBranching" with all the files
-
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 "MultipleChoiceBranching", and click on Finish.
-
Right click on the project; go to New> select "Business Process Diagram”.
-
Provide diagram name as “MultipleChoiceBranching” click on Finish.
-
A pool with a task is available in BPMN Editor Pane, name default pool as “Client” and 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 "MultipleChoiceBranching".
-
Focus on send task; drag out going message flow icon to "MultiChoiceBranching" pool and select the option "Connect to a new Task", name this new task as "receive".
-
Focus on the receive task and drag the outgoing sequence flow icon to "Connect to a new Exclusive data-based gateway", name this new gateway as "Choice".
-
Focus on Choice gateway and drag the out going sequence flow icon to "Connect to a new Task". Name this new task as "output_1".
-
Repeat step 10 and name the available task as "output_2".
-
Again repeat step 10 and name the available task as "default".
-
Right click on the Connection between “Choice” gateway and “default” task and select the option "Sets as default choice".
-
Focus on “output_1” task and drag the outgoing sequence flow icon to "Connect to a new Exclusive data-based gateway", name this new gateway as "Resultant".
-
Focus on “output_2” task and drag the outgoing sequence flow icon and connect to "Resultant" gateway.
-
Focus on default task and drag the outgoing sequence flow icon and connect to "Resultant" gateway.
-
Focus on “Resultant” gateway and drag the out going sequence flow icon to "Connect to a new Task". Name this new task as "reply".
-
Focus on “reply” task and drag the out going message icon from boundary and connect to "send" task in the Client
-
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 "Choice" gateway.
-
Go to Mapper tool bar, click on "creates a new operator" button available.
-
Drag the mouse pointer from the tool bar to work area of "condition for [Choice-output_1]" Mapper and click on it.
-
A textbox will be available in editing mode, provide "=" in the text box without double quotes.
-
Repeat steps 3,4 and provide "1" without double codes.
-
Click on "$thisReceiveRequestMsg.body" node in the left side of Mapper area
-
Click on the left edge of textbox displaying"=".
-
Again Click on the right edge of the "1" and then click on left edge of textbox displaying "=" operator.
-
Again click on the right edge of the "=" operator and then click on "condition" node given in right side of Mapper area.
-
Select "Condition for [Choice-output_2]" in Mapper tool bar.
-
Click on "creates a new operator" button available.
-
Drag the mouse pointer from the tool bar to work area of "Condition for [Choice-output_2]" Mapper and click on it.
-
A textbox will be available in editing mode, provide "=" in the textbox without double quotes.
-
Repeat steps 3,4 and provide "2" without double codes.
-
Click on "$thisReceiveRequestMsg.body" node in left side of the Mapper area and then click on left edge of textbox displaying "=".
-
Click on right edge of textbox dsiplaying "2" and then click on the left edge of textbox displaying "=".
-
Click on right edge of textbox displaying "=" and then click on "condition" node given in right side of Mapper area.
-
Select "output_1" task in modeler and go for Mapper area.
-
Click on "creates a new operator" button available in the Mapper tool bar.
-
Drag the mouse pointer from the tool bar to work area of Mapper and click on it.
-
A textbox will be available in editing mode, provide "you have made the first choice" in the textbox within double quotes.
-
Click on right edge of "you have made first choice" and then click on "$thisReceiveRequestMsg.body" node given in right side of Mapper area.
-
Select "output_2" task in the modeler and go for Mapper.
-
Repeat the steps 21 & 22; provide "You have made the second choice" in the text box within double codes.
-
Click on the right edge of the "you have made the second choice" and then click on "$thisReceiveRequestMsg.body" node given in the right side of Mapper.
-
Select "default" task in the modeler and go for Mapper area.
-
Repeat the steps 21 & 22 and provide "Sorry the choice made is not available" in the textbox within double quotes.
-
Click on the right edge of the "Sorry the choice made is not available" and then click on "thisReceiveRequestMsg.body" node given in right side of Mapper area.
-
Now select the "reply" task and go for Mapper window.
-
Click on "$thisReceiveRequestMsg.body" node in left side of Mapper area and then click on "$thisReceiveResponseMsg.body" node in right side of Mapper area 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 following credentials:
username: 'admin' (without quotes).
password: 'changeit' (without quotes). -
Bpms-console will be available with deployed processes list.
-
You should see “MultipleChoiceBranching:MultipleChoiceBranching” process with a package name “MultipleChoiceBranching”, check the box under project and click to start.
-
This should generate a form with an input text field.
-
Type '1' in start field, then click on Submit button.
-
This will replace the page with an output like "receiveResponse: You have made the first choice".
