• Register Now
  • Forgot Password?
Intalio
  • Product
  • Services
  • Partners
  • Customers
  • Community
  • Company
Print E-mail
Contributed by KJCh Shivanand on Aug 25 2008
zip waittime 14/12/2008,23:33 12.28 Kb 

Summary:

The “WaitTime” process use case illustrates how to use  Timer Intermediate Event in the process. In this process user give string value as input and then wait for the specified period of time for output say 20 sec. After span of the given time period  in this process after 20 sec “Wait Time” process  executes and displays the desired output.

 

Use case dependencies:

message.xsd: The schema used is "time" which is of "string" type

 

Requirements:

1.Intalio BPMS Designer  5.2
2.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:

1.Please download the WaitTime.zip.
2.In Intalio|BPMS Designer, go to File > Import...
3.In the wizard, select 'Existing Projects into Workspace' and click Next >
4.Select the 'select archive file:' radio button and provide the location to the WaitTime.zip file you have just downloaded.
5.Click Finish.
waittime.jpg

 

Steps to remake process:

1.Right click on the project and go to "New Business Process Diagram" and click on it.
2.Give the diagram name as "WaitTime" and click on finish.
3.A diagram with the name "WaitTime.bpm" will be available.
4.A pool with a task is available on the modeler window. Name the default pool as 'Client' and default task as 'send'.
5.Right click on the Client pool and select "Set pool non executable".
6.Click on the modeler, small pop up menu will be available select "Add Pool" option from the pop up menu.
7.Name the second pool as "WaitTime".
8.Focus on send task; drag out going message flow icon to "WaitTime" 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 Timer Intermediate Event", name this new event as "Timer".
10.Focus on Timer event and drag the outgoing sequence flow icon to "Connect to a new Task ", name this new task as "reply".
11.Focus on “reply” task and drag the outgoing message icon from boundary and connect to “send” task in “Client” pool.
12.Import schema files from zip file into the project ((or) You can also create your own schema from File > New > Other > XML > XML Schema.
13.Drag and drop message.xsd > tns:start schema node on to incoming messag eflow from “send” task to “receive” task.
14.A message “Set schema element 'start' as the content of the message” will prompt you, click on it.
15.Save the process.

 

Defining Outgoing Mappings:

1.Click on "Timer" event.
2.Go to Mapper toolbar, click on "creates a new operator" button available.
3.Drag the mouse pointer from the tool bar to mapper area and click on it.
4.Provide the string as "PT20S" [within double quotes] in the text-box.
5.Click on the right edge of the textbox displaying the string "PT20S" then click on the "duration" node on the right side of the Mapper.
6.Click on "reply" task in Modeler.
7.Connect “$thisReceiveRequestMsg.body” on the left side of the mapper with “thisReceiveResponseMsg.body$” on the right side of the mapper.
8.Save the process.

Now your process is fully implemented which is ready 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.Click on Finish button. 
4.Open a browser window and provide the url as: http://localhost:8080/bpms-console.
5.Login with following credentials:
username: 'admin' (without quotes).
password: 'changeit' (without quotes).
9.You should see “WaitTime:WaitTime” process with a package name “WaitTime”, check the box under project and click to start.
10.This should generate a form with an input text field:
11.Type “Hello intalio” in “receiverequest” field, then click on Submit button.
6.The output will be displayed as:
receiveResponse: Hello Intalio
Note: Result will be displayed after a span of 20 sec.

 

Note:
This sample is an example to educate user on:
1.How to use Timer Intermediate Event in Intalio process.

 


 

Last Updated ( Jan 05 2009 )
 
[ Back ]

Copyright © Intalio, 1999-2012.

  • Copyright Notice |
  • Privacy Policy |
  • User Agreement