MAIN arrow Samples-5.1 arrow PIPAElevates

PIPAElevates

Print E-mail
zip pipaelevates 05/10/2007,03:59 37.90 Kb

 

This use case model exemplifies how Intalio|BPMS bears to invoke external and internal web services through a PIPA task what the process called as 'PIPAElevates', i.e. the ability for user to invoke dual services in a single click/submit and obtain results in another form according to this process flow.

 

 

 

Scenario

Employee logs in Intalio|BPMS Workflow UI to request for invoking remote and local web services by submitting form through entering two input fields and to obtain results in other form.


Process Download

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

 

This should create a new project called 'PIPAElevates' in your Process Explorer. In the Process Explorer, expand new PIPAElevates project. This project essentially contains the following files:

 

form1.xform: Form used to request the user to provide two input values to start the process. This form was created with the Form Editor and may double click on this file to open it.
form2.xform: Form used to obtain results after invoking both external and internal services.
pipaelevates.bpm: The PIPAElevates process model.
SO_04-Client_To_SO-04_Pool.wsdl: a wsdl file deployed already within Intalio|BPMS Server.
TimeService.wsdl: External wsdl file used in this process to invoke a service.
message.xsd: dependent schema for local wsdl file.

 

The other files are automatically generated by Workflow Visual Connector to provide information that is needed to integrate xforms with the process model. Double click on PIPAElevates.bpm to open/edit the process model within Intalio|BPMS Designer perspective which should look like below screen shot, and the form1.xform & form2.xforms have been created within Form Editor Perspective and you may double click on these files to edit in Form Editor.

 

pipaelevates.png

 



In this process the User pool will generate code after a successful validation and deployment into Intalio-bpms. The pool, in
orange is to invoke remote web service. The Pool named PIPA represents a user who interacts with the PIPAElevates process.


Deployment:

To fully deploy the process, we need:

  • Select PIPAElevates project in process explorer.
  • Click on export button in tool bar.
  • Make sure you check Deploy forms option, then finish.

 

Execution:

To run PIPAElevates process:

    1. Go to http://localhost:8080/ui-fw/login.htm.
    2. Log in with the username 'examples/ewilliams' (without quotes) and password 'password' (without quotes).
    3. Refresh Processes tab.
    4. Click on 'Form1-init process' in the list. If you don't see this, then it means that you did not manage to successfully export the People Initiating Process Activity as explained before.
    5. Enter City name in the first text input field (e.g. SYDNEY) and any string value in the second text input field (e.g. Hello) then click on Start process this submits the request to start PIPAElevates process.
    6. Within a few seconds the form should start from workflow automatically and shows a message like this 'The process was successfully started and automatically switches to Tasks tab.
    7. If you didn't find any task, just click on refresh to find a task with name 'Results' in READY state.
    8. Click on the task to verify results from both web services.
    9. Now you may claim, save or complete this process.

Conclusion:

You may now check in the console instances tab where our PIPAElevates process will be in completed state with executable pool name 'User'�; you will also find HelloWorld & Task Manager processes in completed state, click on User instance to see more details. Now click on the data tab where you can monitor the values of your process variables.

 

 

 

Last Updated ( Nov 19 2007 )
  < Prev Next >