











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
ComplexVariable ComplexVariable
complexvariable 04/02/2008,05:31 13.59 Kb
Description:
This use case illustrates the method of assigning the input data to complex variable and getting the same as output.
Use case dependencies
complexType.xsd: schema used is "complexMessage" which
is a complex type that contains 2 elements of 'string'
type:
Question
Answer
Requirements
1. Intalio|BPMS Server-5.1.1
2. Intalio|BPMS Designer-5.1.1
Process Download & Import
1.Download 'Complex_Variable.zip'.
2.Go to File > Import.
3.In Import wizard, select 'Existing Projects into Workspace', click on Next >.
4.Select the “Select archive file” radio button.
5.Browse to select the downloaded archive file.
6.Click on Finish.
7.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 “Intaio|BPMS Business Process Project”.
-
Provide Project name as”CompexVariable”, click on Finish.
-
Right click on project; go to New > select "Business Process Diagram".
-
Provide diagram name as "ComplexVariable", 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 "ComplexVariable".
-
Focus on "send" task in Client pool, drag the out going message icon from boundary to "ComplexVariable" ,select the option "Connect to a new Task" and name this newtask as "receive".
-
Focus on "receive" task, drag outgoing sequence flow icon from boundary and select option to "Connect to a new Task", name this new as "Assign to Variable”.
-
Focus on "Assign to Variable" task, drag outgoing sequence flow icon from boundary and select option to "Connect to a new Task", name this new task as "Compute".
-
Focus on "Compute" task, drag outgoing sequence flow icon from boundary and select option to "Connect to a new Task", name this new task as "reply".
-
Drag the outgoing message icon from "reply" task and connect to "send" 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 complexType.xsd > tns: complexMessage schema node on to incoming message flows from "send" task to "receive" task.
-
A message "Set schema element 'complexMessage' as the content of the message" will prompt you, click on it.
-
Drag and drop complexType.xsd > tns: complexMessage schema node on to outgoing message flows from "reply" task to "send" task.
-
A message "Set schema element 'complexMessage' as the content of the message" will prompt you, click on it.
Working in Data Editor
In order to store a complex schema, we need a complex variable. A complex variable could be declared in the Data Editor using following steps:
-
In the Data Editor, expand 'ComplexVariable' node and Right-click on "declarations" and select 'create variable'.
-
In the 'Create Variable' window give variable name as 'complexvariable'(without quotes) and click Create button.
Note: If you expand the declarations node now, you should see a new variable '$complexvariable with an error message saying "Attributes 'element' or 'type' or 'messageType' and 'part' must be defined on a variable declaration". -
Go to right panel of Data Editor and expand ComplexVariable node.
-
Expand the node called "namespace:xmlns:tns=http://www.example.org/ComplexType".
-
Dnd 'schema type (tns:complexMessage)' on 'complexvariable' variable given under "ComplexVariable->declarations".
-
Right click on "complexvariable" node and select "Initialize variable content".
Defining Outgoing Mapping
-
Make sure Mapper view is visible (otherwise go to and select Windows > Show View > Mapper).
-
In the process model select "Compute" task.
-
Click on "$thisReceiveRequestMsg.body" node in left side of mapper and then click on "$complexvariable" node in right side of mapper which will make an association.
-
Select "reply" task in process model.
-
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 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 toolbar.
-
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 availble with deployed processes list.
-
You should see "ComplexVariable:ComplexVariable" process with a package name "ComplexVariable", select it and click to Start.
-
This should generate a form with two text box fields naming "Question" and "Answer".
-
In the textboxes give the input values as:
Question: " What is your Name"
Answer: "My Name is Alice." then click on Submit button. -
The output will be displayed as:
Question: "What is your Name"
Answer: "My Name is Alice."
