











Signup for Training
- Kuala Lumpur, ML, Nov 25-27
- Frankfurt, DE, Dec 02-04
- Ciudad de Mexico, Dec 2-4
- Atlanta, GA Dec 3-5
- Melbourne, AU, Dec 9-11
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?
- (jloge@ebsco.com)
- Admin Intalio (admin)
- Alex Prada (alex.prada)
- Alexandre Miguel de Andrade Souza (alexandremas)
- Crezo Ferreira (crezo.ferreira)
- Dariusz Gawrych (dariusz.gawrych)
- ESOMCHI NWOFOR (esomchi.nwofor)
- Ezequiel Muñoz (ezequiel.munoz)
- Johan Strandler (johan)
- Jose garcia (jose.garcia2)
- Jose Meza (jose.meza)
- Kevin Murray (kevin.murray)
- Leonardo Saraiva (leonardo.saraiva)
- Raul Rivas (raulxavier)
- Richard Guydan (richard.guydan)
- Soul Id (soul.id)
- Talita Pezzi (talita.pezzi)
MAIN
Samples-5.1
Indicate Timeout Process
Samples-5.1
Indicate Timeout Process Indicate Timeout Process
on Jul 04 2007
Description:
Use case dependencies:
Last Updated ( Feb 06 2008 )
< Prev
Next >
indicatetimeout 04/02/2008,05:45 14.41 Kb
Description:
This use case explains if the process does not execute within a given time span then the process throws a timeout.
In the given process the process executes a loop for 200 times, in a given a span of time i.e. PT10S if its not able to execute the loop the process will throw a timeout and the output will be displayed as Oops! Timeout.
Use case dependencies:
message.xsd- Schema used is start which is of string type.
Requirements:
- Intalio|BPMS Server-5.1.1.
- Intalio|BPMS Designer-5.1.1.
Process Download & Import:
- Download IndicateTimeout.zip.
- Go to File > Import...
- In the Import wizard, select 'Existing Projects into Workspace', click on Next >.
- select the "Select archive file" radio button.
- Browse to select the downloaded archive file.
- Click to Finish.
- 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.
- For the first time, go to File > New > select Intalio|BPMS Business Process Project.
Steps to remake the process:
- Go to File>New > select "Intalio|BPMS Business Process Project".
- Provide Project name as "IndicateTimeout", and click to finish.
- Right click on the project, go to New>select "Business Process Diagram".
- Provide file name as "IndicateTimeout", click to 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 IndicateTimeout.
- Focus on send task; drag out going message flow icon to IndicateTimeout pool and select the option Connect to a new Task, name this new task as receive.
- Focus on the receive task and drag the outgoing sequence flow icon to Connect to a new Sub-Process, name this new subprocess as sub-one and the default task available in the subprocess as loop.
- Right click on the loop task and click on the Sets loop as looping task.
- Focus on the loop task and drag the outgoing sequence flow icon to Connect to a new Timer Intermediate Event, name this as Timer1.
- Focus on the boundary of sub-one Sub-process (Near to expand/collapse button of Sub-process) Sub-process event holder a pop up menu will be available.
- Select Add Timer Intermediate Event option from the pop up menu available.
- Drag the outgoing sequence flow icon from the sub-one subprocesses to Connect to a new Task, name this new task as reply.
- Drag the outgoing sequence flow icon from Timer intermediate event (which is on boundary of the sub-one subprocesses) to Connect to a new Task; name this new task as ThrowError.
- Focus on reply task and drag the out going message icon from boundary and connect to send task in the Client Pool.
- Import schema files from zip file into the project ((or) You can also create your own schema from File > New > Other > XML > XML Schema).
- Drag and drop message.xsd > tns:start schema node on to incoming message flow from send task to receive task.
- A message Set schema element start as the content of the message will prompt you, click on it.
Defining Outgoing Mapping:
- Make sure Mapper view is visible (go to Windows > Show View > Mapper).
- In the process model select loop task.
- Go to Window-> Show View->Palette and select it.
- Drag the Mapper Palette to other location from where you can easily dnd any operator onto the Mapper.
- Go to mapper tool bar and click loop tab.
- Go to Mapper Palette and expand Functions and Operators on Numerics Comparison of Numeric Values and dnd op:numeric-less-than operator onto the Mapper Area.
- Go to mapper tool bar, click on creates a new operator button available and again click on work area of Mapper.
- Provide 200 in the text box without double quotes.
- Click on $thisReceiveRequestMsg:body node in the left side of the Mapper.
- Click on the left edge of the textbox displaying < (less than operator) available in the work area.
- Again click on the right edge of the textbox displaying numeric value 200 and then click on the left edge of the textbox displaying < operator.
- Again click on the right edge of the textbox displaying < operator and then click on while node given in the right side of mapper.
- Go to mapper tool bar and click assign tab.
- Go to Mapper Palette and expand Functions and Operators on Numerics Operators on Numeric Values and dnd op:numeric-add operator onto the Mapper Area.
- Go to mapper tool bar, click on creates a new operator button available.
- Provide 1 in the text box without double quotes.
- Go to the Left side of the mapper and click on $thisReceiveRequestMsg:body node.
- Click on the left edge of the textbox displaying + (addition operator) available in the work area.
- Again click on the right edge of the textbox displaying numeric value 1 and then click on the left edge of the textbox displaying + operator.
- Again click on the right edge of the textbox displaying + operator and then click on $thisReceiveRequestMsg:body node given in the right side of mapper.
- Now click on the Timer1 Timer Intermediate Event in the modeler area.
- Go to mapper tool bar, click on creates a new operator button available and again click on work area of Mapper.
Provide PT10S in the text box within single quotes. - Right click on the text box displaying PT10S and again click on the right side of the duration.
- Now click on the Timer Intermediate Event on the boundary of the Sub-Process in the modeler area and go to the mapper area.
- Go to mapper tool bar, click on creates a new operator button available and again click on work area of Mapper.
- Provide PT05S in the text box within single quotes.
- Right click on the text box displaying PT05S and again click on the right side of the duration.
- Now click on the ThrowError task in the modeler and go to the mapper area.
- Go to mapper tool bar, click on creates a new operator button available and again click on work area of Mapper.
- Provide Oops! TimeOut in the text box within double quotes.
- Right click on the text box displaying Oops! TimeOut and again click on the target side of the $thisReceiveRequestMsg:body.
- Now click on the reply task and go to the mapper window.
- Go to mapper tool bar, click on Connects operators and nodes button available.
- Go to the left side of the mapper and click on $thisReceiveRequestMsg:body node and then click on $thisReceiveResponseMsg:body node given in the right side of mapper.
- 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 tool bar.
- 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 available with deployed processes list.
- You should see "IndicateTimeout:IndicateTimeout" process with a package name "IndicateTimeout", select it and click to Start.
- This should generate a form with an text field.
- Type 1 in start field, then click on Submit button.
- This will replace the page with an output like receiveResponse: Oops! TimeOut.
