MAIN arrow Samples-5.1 arrow WaitTime

WaitTime

Print E-mail

 

zip waittime 06/02/2008,04:11 9.18 Kb

 

Description

This "WaitTime" use case illustrates the functionality of Timer Intermediate Event, in which it takes an input string value then wait for a period of time according to the design before continuing with remaining execution to produce desired output.

 

Use case dependencies 

message.xsd: The 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

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

 * 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.

 

Scenario in Intalio|BPMS Designer

  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" and focus on it.
  8. Focus on the send task, message icons will be available on the boundary of the task.
  9. Drag the out going message icon from send task to the WaitTime Pool and select the option "Connect to a new Task"
    Note: Task will be available along with message connection from send task.
  10. Name the new task as "receive" and again focus on it.
  11. Drag the outgoing sequence flow icon from receive task and select the option "Connect to a new Timer Intermediate Event".
    Note: Timer Intermediate Event will be available along with sequence flow connection from receive task.
  12. Focus on the Timer Intermediate Event, sequence flow icons will be available on the boundary of Timer Intermediate Event.
  13. Drag the outgoing sequence flow icon from Timer Intermediate Event" and select the option "Connect to a new Task".
  14. Name the new task as "reply" and again focus on it.
  15. Drag the outgoing message icon from reply task to the Client Pool and select the option "Connect to an existing element".
  16. Select "Activity send" option given in "Select domain model element" window and click OK.
    Note: Message connection will be available from reply task to send task.
  17. Drag and Drop 'start' schema on the incoming message flow from 'message.xsd' provided.
  18. "Set schema element "start" as the content of the message" will be available click on it.
    Note: Schema will be available on the message link
    Note: Check for the type of the schema. The start schema should be of string type.

 

 

Working in Mapper

  1. Click on "Timer Intermediate Event".
  2. Instantly Mapper displays with three frames, where:
    Left frame (1st) reflects the source side
    Middle frame (2nd) reflects the mapper area
    Right frame (3rd) reflects the target side.
  3. Go to Mapper toolbar, click on "creates a new operator" button available.
  4. Drag the mouse pointer from the tool bar to mapper area and click on it.
  5. Provide the string as "PT10S" [within double quotes] in the text-box.
  6. Click on the right edge of the textbox displaying the string "PT10S" then click on the "duration" node on the target side of the Mapper.
  7. Click on "reply" task in Modeler.
  8. Go to the source side of the mapper and click on "$thisReceiveRequestMsg.body" node.
  9. Then click on the target side of the "thisReceiveResponseMsg.body".
  10. Save the process design.
  11. Now your process is fully implemented which is ready to deploy and execute within Intalio|BPMS Server.

 

Scenario in BPMS Console

  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. Enter the Username and password as "admin" and "changeit" respectively without double quotes and click on login.
  6. http://localhost:8080/bpms-console/processes.htm window opens.
  7. Under the "Processes", select the checkbox corresponding to the name "WaitTime: WaitTime" under package name "WaitTime" given under the list of processes and click on "Start" under "Processes" tab.
  8. The "Process Invocation" window is opened.
  9. In the textbox give the input as:
    start: Intalio
    and select 'Submit' button available.
  10. The output will be displayed as:
    receiveResponse: Intalio.
    Note: Result will be displayed after a span of 10 sec.
Last Updated ( Feb 06 2008 )
  < Prev Next >