Home > BPM, Intalio > Deploying and Testing your first process in 5.2 (Beginner)

Deploying and Testing your first process in 5.2 (Beginner)

Written by Chandra Shekhar on Nov 20 2008

Abstract

The aim of this document is to let you deploy and test your first process designed in ‘Getting Started: Implementing your first process ‘ guide.
In this guide, you will be introduced to the following concepts:

  • Deployment
  • Execution

Please discuss the document directly in the forums.

Pre-requisities

Before you start digging in this document please make sure that both Designer and the runtime components are installed and running properly in your environment. The complete GetTime process is also required. You can find it in the in the library under ‘Processes/Implemented Processes’

Validating and Deploying your process

Intalio|BPMS Designer will compile your process after each change indicating in real-time all the errors that are preventing the process from being deployed and executed. The list of problems is available in the problem view as well as directly on the process model.
Indeed each shape that is not correctly implemented (missing data elements, wrong mappings, invalid BPMN sequence…) is marked by a red cross so is the process in the Process Explorer.

Once your process is ready to be executed, simply click on the deployment bundle icon to open the deployment menudeploymenticon.jpg

The deployment menu allows you to choose the processes to deploy as well as their dependencies. Please note that when you select one process to deploy, the dependencies are automatically selected. You are free to select the dependencies that you want to deploy.
For instance it allows you to switch between the deployment of a test process that returns always the same data and the deployment of the real implemented process.

By default the process will be deployed on the same machine where Designer is running.
You can change the location of your process server by accessing Intalio|Designer preferences which will allow you to do remote deployment.
deployment_wizard.jpg

The different artifacts generated are:

  • the BPEL code corresponding to the process
  • the different WSDLs used by the process to represent its interactions with other participants (partner links)
  • the different WSDLs used to represent external services
  • the compiled BPEL code in Pi-Calculus
  • a Deployment descriptor specific to Intalio|Server
  • an SVG representation of the process used for dynamic process monitoring
  • The custom initialization of variables if applicable
  • The deployment descriptor for the forms

You will notice that Intalio|BPMS Designer allows you to deploy either the processes or the forms or both at the same time.
Intalio|BPMS Designer Deployment Wizard is the central wizard to deploy all the different files required to run a process.
You don’t have to deal with multiple build environments and multiple XML files.
Intalio|BPMS Designer deploys them for you.

Starting the process in Intalio|BPMS Console

Let’s connect to Intalio|BPMS Console to ensure that our process is deployed correctly.
Open a browser to http://localhost:8080/bpms-console and use the credentials ‘admin/changeit’ to log in.
Please note that you can open your browser directly from Intalio|BPMS Designer allowing you to do everything in one single tool.
Your process should be part of the current available processes available.
To start this process, it is now required to send a message on the process endpoint with the correct message name and the correct message structure.
Thanksfully Intalio|BPMS Console includes a tool that does just that: this tool creates a web-form based on the process definition to let you enter data to kick-in the process.
Simply click on the check-box next to the process and click start. A web-form will appear after few seconds prompting you to enter a city:

consolestart.jpg

The web service we’re relying on in this tutorial is very simple.  It only knows a few cities: Boston, San Francisco, Paris, London, and Sidney.  The time zones for some cities are also incorrect, although they do differ from each other so you can successfully test your process.  Enter one of those (any other entry will return the UTC time by default), and click Submit.  The process will start and return its result:

consoleend.jpg
You can now browse in the instances tab to see that your process has been completed.
I invite you to take a look at the different variables as well as the different events. It is a complete summary of the process lifetime.
You are now ready to design processes and learn more advanced concepts with Intalio|BPMS.

Advertisements
Categories: BPM, Intalio
  1. July 16, 2013 at 20:31

    This is a very good tip especially to those fresh to the blogosphere.

    Short but very precise information… Appreciate your sharing this one.
    A must read article!

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: