











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)
- gianni naccio (gianni.naccio)
- Guerman Smirnov (guerman.smirnov)
- 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)
- Teo Bon (teo.bon)
- Wael Soliman (wael.soliman)
Samples-5.1
TerminateProcess TerminateProcess
terminateprocess 06/02/2008,03:00 9.79 Kb
Description
This "process flow" use case "Terminate a Process" illustrates the termination of a process with the help of conditional flow using a data-based exclusive gateway.If the input given as 'yes', the condition returns true and the generated output is 'This is correct'. But if any other input value is passed then a soap timeout exception is generated and the process terminates with no output.
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 'TerminateProcess.zip'.
2.Go to File > Import...
3.Select 'Existing Projects into Workspace', in the wizard, click on Next >
4.Browse to select the downloaded archive file & Click to Finish.
5.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
- Right click on the project; go to New > "Business Process Diagram".
- Provide File name as "TerminateProcess", and click to 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 "TerminateProcess".
- Focus on send task; drag out going message flow icon to "TerminateProcess" 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 "Select_output".
- Focus on Select_output gateway and drag the out going sequence flow icon to "Connect to a new Task". Name this new task as "output".
- Again focus on Select_output 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 Select_output gateway and default task and select the option "Sets as default select_output".
- Focus on the default task and drag the outgoing sequence flow icon to "Connect to a new Terminate End Event".
- Focus on output 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).
- In the process model select "Select_output" gateway.3.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 "Condition for [Select_output-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 "yes" within double codes.
- Click on "$thisReceiveRequestMsg.body" node in the left side of the Mapper.
- Click on the left edge of the "=" operator.
- Again Click on the right edge of the "yes" and then click on the left edge of the "=" operator.
- Again click on the right edge of the "=" operator and then click on "condition" node given in the 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 correct " in the text box within double quotes.
- Click on the right edge of the "This is correct " and then click on "$thisReceiveResponseMsg.body" node given in the right side of Mapper.
- Save the process model.
- Now your process is fully implemented to and is valid 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.
- Also verify & check "Deploy processes" select_output before 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 "TerminateProcess: TerminateProcess" process with a package name "TerminateProcess", select it and click to Start.
- This should generate a form with a check box field.
- Type 'yes' in start field, then click on Submit button.
- This will replace the page with an output like " receiveResponse: This is correct ".
