on Aug 13 2008
2.Intalio BPMS Server – 5.2
2.Make sure the Process Explorer pane does not contain any Intalio|BPMS Business Process Project with same name.
2.Go to File > Import.
3.Select General > Existing Projects into Workspace and click Next >
4.Select the "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.
2.Provide project name as “SimpleChoiceBranching ", click to finish.
: Make sure project with same name does not exist in the Process Explorer”.
3.Right click on the project; go to New > select "Business Process Diagram".
4.Provide diagram name as "SimpleChoiceBranching", and click on Finish.
5.A pool with a task is available in BPMN Editor Pane, name default pool as 'Client' and task as 'send'.
6.Right click on client pool and select "Set pool non executable".
: If you save the process without making pool as non-executable, designer displays an error: The first task of an executable pool must receive a message.
7.Add new pool by click on BPMN Editor (select "Add Pool" option from pop up menu) and name it as "SimpleChoiceBranching".
8.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".
9.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".
10.Focus on Choice gateway and drag the out going sequence flow icon to "Connect to a new Task". Name this new task as "output".
11.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".
12.Right click on the Connection between Choice gateway and default task and select the option "Sets as default choice".
13.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".
14.Focus on the default task and drag the outgoing sequence flow icon and connect to "Resultant" gateway.
15.Focus on Resultant gateway and drag the out going sequence flow icon to "Connect to a new Task". Name this new task as "reply".
16.Focus on reply task and drag the out going message icon from boundary and connect to "send" task in the Client Pool.
17.Import schema files from zip file into project ((or) You can also create your own schema from File > New > Other > XML > XML Schema).
18.Drag and drop message.xsd > tns:start schema node on to incoming message flow from "send" task to "receive" task.
19.A message "Set schema element 'start' as the content of the message" will prompt you, click on it.
2.Instantly Mapper displays with three frames, where:
Left frame (1st) reflects source side
Middle frame (2nd) reflects Mapper area
Right frame (3rd) reflects target side.
3.Go to Window > Show View > select Mapper Palette.
4.Drag Mapper Palette to location from where you can easily dnd any operator/function onto Mapper Area.
5.Click on "creates a new operator" button available in Mapper tool bar.
6.Drag the mouse pointer from the tool bar to work area of "Condition for [Choice-output]" Mapper and click on it.
7.A textbox will be available, provide "=" in the text box without double quotes.
8.Repeat steps 3, 4 and provide "Hello" within double codes.
9.Click on "$thisReceiveRequestMsg.body" node in the left side of the Mapper.
10.Click on the left edge of text box displaying "=".
11.Again click on right edge of "Hello" and then click on the left edge of text box displaying "=".
12.Again click on right edge of "=" operator and then click on "condition" node given in right side of Mapper.
13.Select "output" task in the modeler and go for Mapper.
14.Click on "creates a new operator" button available in the Mapper tool bar.
15.Drag the mouse pointer from the tool bar to work area of Mapper and click on it.
16.A textbox will be available, provide "This is the correct output" in the text box within double quotes.
17.Click on the right edge of "This is the correct output" and then click on "$thisReceiveRequestMsg.body" node given in right side of Mapper.
18.Select "default" task in the modeler and go for Mapper.
19.Repeat the steps 12, 13 and provide "Condition Failed" in the text box within double quotes.
20.Click on right edge of "Condition Failed" and then click on "$thisReceiveRequestMsg.body" node given in right side of Mapper.
21.Now select "reply" task and go for the Mapper window.
22.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.
23.Save the process model.
Now your process is fully implemented which is to deploy and execute within Intalio|BPMS Server.
2.Make sure you select all runtime files while exporting to Intalio|BPMS Server.
3.Open a web browser, provide url as: http://localhost:8080/bpms-console, which takes to login screen for bpms-console.
4.Login with following credentials:
username: 'admin' (without quotes)
password: 'changeit' (without quotes)
: bpms-console will be available with deployed processes list.
5.In the processes list you should see "SimpleChoiceBranching: SimpleChoiceBranching" process with a package name "SimpleChoiceBranching”, check the box under the package and click to Start.
6.Process Invocation window is visible that display an input text field.
7.Input string as 'Hello' in it, and then click on Submit button.
8.The Process Invocation window will display output like "receiveResponse: This is the correct output".
: This sample is an example to educate user on:
1.How to implement ‘Data-Based Exclusive Gateway’ in the process.
2.How to control flow of the process based on the input provided by the user.
3.How to provide conditions for the Data Based Gateway.
4.How to create mapping between :
1.Data Based gateway and condition
2.Data Based gateway and output result
3.Date based Gateway and default output
Last Updated ( Dec 19 2008 )
simplechoicebranching 13/08/2008,06:20 11.00 Kb
Summary:
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 Designer – 5.22.Intalio BPMS Server – 5.2
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.
Process Download & Import :
1.Download "SimpleChoiceBranching.zip' .2.Go to File > Import.
3.Select General > Existing Projects into Workspace and click Next >
4.Select the "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.
Steps to remake the process :
1.Go to "File > New > select "Intalio|BPMS Business Process Project".2.Provide project name as “SimpleChoiceBranching ", click to finish.
: Make sure project with same name does not exist in the Process Explorer”.
3.Right click on the project; go to New > select "Business Process Diagram".
4.Provide diagram name as "SimpleChoiceBranching", and click on Finish.
5.A pool with a task is available in BPMN Editor Pane, name default pool as 'Client' and task as 'send'.
6.Right click on client pool and select "Set pool non executable".
: If you save the process without making pool as non-executable, designer displays an error: The first task of an executable pool must receive a message.
7.Add new pool by click on BPMN Editor (select "Add Pool" option from pop up menu) and name it as "SimpleChoiceBranching".
8.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".
9.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".
10.Focus on Choice gateway and drag the out going sequence flow icon to "Connect to a new Task". Name this new task as "output".
11.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".
12.Right click on the Connection between Choice gateway and default task and select the option "Sets as default choice".
13.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".
14.Focus on the default task and drag the outgoing sequence flow icon and connect to "Resultant" gateway.
15.Focus on Resultant gateway and drag the out going sequence flow icon to "Connect to a new Task". Name this new task as "reply".
16.Focus on reply task and drag the out going message icon from boundary and connect to "send" task in the Client Pool.
17.Import schema files from zip file into project ((or) You can also create your own schema from File > New > Other > XML > XML Schema).
18.Drag and drop message.xsd > tns:start schema node on to incoming message flow from "send" task to "receive" task.
19.A message "Set schema element 'start' as the content of the message" will prompt you, click on it.
Defining Outgoing Mapping:
1.Select the "Choice” gateway.2.Instantly Mapper displays with three frames, where:
Left frame (1st) reflects source side
Middle frame (2nd) reflects Mapper area
Right frame (3rd) reflects target side.
3.Go to Window > Show View > select Mapper Palette.
4.Drag Mapper Palette to location from where you can easily dnd any operator/function onto Mapper Area.
5.Click on "creates a new operator" button available in Mapper tool bar.
6.Drag the mouse pointer from the tool bar to work area of "Condition for [Choice-output]" Mapper and click on it.
7.A textbox will be available, provide "=" in the text box without double quotes.
8.Repeat steps 3, 4 and provide "Hello" within double codes.
9.Click on "$thisReceiveRequestMsg.body" node in the left side of the Mapper.
10.Click on the left edge of text box displaying "=".
11.Again click on right edge of "Hello" and then click on the left edge of text box displaying "=".
12.Again click on right edge of "=" operator and then click on "condition" node given in right side of Mapper.
13.Select "output" task in the modeler and go for Mapper.
14.Click on "creates a new operator" button available in the Mapper tool bar.
15.Drag the mouse pointer from the tool bar to work area of Mapper and click on it.
16.A textbox will be available, provide "This is the correct output" in the text box within double quotes.
17.Click on the right edge of "This is the correct output" and then click on "$thisReceiveRequestMsg.body" node given in right side of Mapper.
18.Select "default" task in the modeler and go for Mapper.
19.Repeat the steps 12, 13 and provide "Condition Failed" in the text box within double quotes.
20.Click on right edge of "Condition Failed" and then click on "$thisReceiveRequestMsg.body" node given in right side of Mapper.
21.Now select "reply" task and go for the Mapper window.
22.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.
23.Save the process model.
Now your process is fully implemented which is to deploy and execute within Intalio|BPMS Server.
Process Deployment & Execution:
1.Click on Deploy Project to Intalio|BPMS Server button in tool bar.2.Make sure you select all runtime files while exporting to Intalio|BPMS Server.
3.Open a web browser, provide url as: http://localhost:8080/bpms-console, which takes to login screen for bpms-console.
4.Login with following credentials:
username: 'admin' (without quotes)
password: 'changeit' (without quotes)
: bpms-console will be available with deployed processes list.
5.In the processes list you should see "SimpleChoiceBranching: SimpleChoiceBranching" process with a package name "SimpleChoiceBranching”, check the box under the package and click to Start.
6.Process Invocation window is visible that display an input text field.
7.Input string as 'Hello' in it, and then click on Submit button.
8.The Process Invocation window will display output like "receiveResponse: This is the correct output".
: This sample is an example to educate user on:
1.How to implement ‘Data-Based Exclusive Gateway’ in the process.
2.How to control flow of the process based on the input provided by the user.
3.How to provide conditions for the Data Based Gateway.
4.How to create mapping between :
1.Data Based gateway and condition
2.Data Based gateway and output result
3.Date based Gateway and default output
