











Signup for Training
- Kuala Lumpur, ML, Nov 25-27
- Frankfurt, DE, Dec 02-04
- Ciudad de Mexico, Dec 2-4
- Atlanta, GA Dec 3-5
- Melbourne, AU, Dec 9-11
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)
- Alex Prada (alex.prada)
- Alexandre Miguel de Andrade Souza (alexandremas)
- Crezo Ferreira (crezo.ferreira)
- ESOMCHI NWOFOR (esomchi.nwofor)
- Ezequiel Muñoz (ezequiel.munoz)
- Jose garcia (jose.garcia2)
- Jose Meza (jose.meza)
- Kevin Murray (kevin.murray)
- Leonardo Saraiva (leonardo.saraiva)
- Raul Rivas (raulxavier)
- Richard Guydan (richard.guydan)
- Talita Pezzi (talita.pezzi)
Samples-5.1
SimpleChoiceBranching SimpleChoiceBranching
simplechoicebranching 05/02/2008,22:10 14.20 Kb
Description
This use case illustrates choice by the use of "Data-Based Exclusive Gateway" to generate a simple "if" condition. Based on the given input value, if the condition is true then the output generated is "This is the correct output". Else if condition is "false" then the output is "Condition failed".
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
1.Download 'SimpleChoiceBranching.zip'.
2.Go to File > Import...
3.Select 'Existing Projects into Workspace', in the wizard, click on Next >
4.Select "Select archive file" radio button.
5.Browse to select the downloaded archive file, & Click to Finish.
6.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 fine.
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 "File > New > select "Intalio|BPMS Business Process Project".
-
Provide Project name as "SimpleChoiceBranching", click on Finish.
-
Right click on the project; go to New > select "Business Process Diagram".
-
Provide diagram name as "SimpleChoiceBranching", and 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 "SimpleChoiceBranching".
-
Focus on send task; drag out going message flow icon to "SimpleChoiceBranching" 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 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".
-
Again focus on Choice gateway and drag the out going sequence flow icon to "Connect to a new Task". Name this new 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 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 the 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 Pool.
-
Import schema files from zip file into 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).
- In the process model select "Choice" gateway.
- Click on "creates a new operator" button available in Mapper tool bar.
- Drag the mouse pointer from the tool bar to work area of "Condition for [Choice-output]" Mapper and click on it.
- A textbox will be available, provide "=" in the text box without double quotes.
- Repeat steps 3, 4 and provide "Hello" within double codes.
- Click on "$thisReceiveRequestMsg.body" node in the left side of the Mapper.
- Click on the left edge of text box displaying "=".
- Again click on right edge of "Hello" and then click on the left edge of text box displaying "=".
- Again click on right edge of "=" operator and then click on "condition" node given in right side of Mapper.
- Select "output" task in the modeler and go for Mapper.
- 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, provide "This is the correct output" in the text box within double quotes.
- Click on the right edge of "This is the correct output" and then click on "$thisReceiveRequestMsg.body" node given in right side of Mapper.
- Select "default" task in the modeler and go for Mapper.
- Repeat the steps 12, 13 and provide "Condition Failed" in the text box within double quotes.
- Click on right edge of "Condition Failed" and then click on "$thisReceiveRequestMsg.body" node given in right side of Mapper.
- Now select "reply" task and go for the Mapper window.
- 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 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 "SimpleChoiceBranching: SimpleChoiceBranching" process with a package name "SimpleChoiceBranching", select it and click to Start.
- This should generate a form with an input filed.
- Type "Hello" in start field, then click on Submit button.
- This will replace the page with an output like "receiveResponse: This is the correct output".

