MAIN arrow Samples-5.1 arrow TransformingI2O

TransformingI2O

Print E-mail

 

zip transformingi2o 06/02/2008,03:55 9.10 Kb

 

Description

This "TransformingI2O" use case illustrates the process of passing a value as input and receiving the same value as output without making any changes to it. For e.g. If the input received from the request message is "Hello Process", then the transformed output will also be "Hello Process".

 

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 'TransformingI2O.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.
5.Click to Finish.
6.Update project builders by right click on project; go to BPMS Designer Tools > Update BPMS Builders.

 

transformingi2o.jpg

 * 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

  1. Right click on the project; go to New > "Business Process Diagram".
  2. Provide File name as "TransformingI2O", and click to finish.
  3. A pool with a task is available in BPMN Editor Pane, name default pool as 'Client' and task as 'send'.
  4. Right click on client pool and select "Set pool non executable".
  5. Add new pool by click on BPMN Editor (select "Add Pool" option from pop up menu) and name it as "TransformingI2O".
  6. Focus on send task; drag out going message flow icon to "TransformingI2O" pool and select the option "Connect to a new Task", name this new task as "receive".
  7. Focus on the receive task and drag the outgoing sequence flow icon to "Connect to a new Task", name this new task as "reply".
  8. Focus on reply task and drag the out going message icon from boundary and connect to "send" task in the Client Pool.
  9. Import schema files from zip file into the project (You can also create your own schema from File > New > Other > XML > XML Schema).
  10. Drag and drop message.xsd > tns:start schema node on to incoming message flow from "send" task to "receive" task.
  11. A message "Set schema element 'start' as the content of the message" will prompt you, click on it.

 

Defining Outgoing Mapping

  1. Make sure Mapper view is visible (go to Windows > Show View > Mapper).
  2. In the process model select "reply" task.
  3. 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.
  4. Save the process model.
  5. Now your process is fully implemented to and is valid 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. Also verify & check "Deploy processes" choice before click on Finish button.
  4. Open a web browser, provide url as: http://localhost:8080/bpms-console, which takes to login screen for bpms-console.
  5. Login with the following credentials:
    username: 'admin' (without quotes).
    password: 'changeit' (without quotes).
  6. In the processes list you should see "TranformingI2O:TransformingI2O" process with a package name "TransformingI2O", select it and click to Start.
  7. This should generate a form with a check box field.
  8. Type 'Hello Process' in start field, then click on Submit button.
  9. This will replace the page with an output like "receiveResponse: Hello Process".
Last Updated ( Feb 06 2008 )
  < Prev Next >