











Signup for Training
- Atlanta, GA Dec 3-5
- Melbourne, AU, Dec 9-11
- New York Dec 10-12
- Brussels, BE, Dec 16-18
- Washington, DC, Dec 17-19
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)
- Alexander Stuckenholz (alexander.stuckenholz)
- alfons bataller Díaz (alfons.bataller.diaz)
- chris robson (chris.robson)
- Deepa Tekumalla (deepa.tekumalla)
- gianni naccio (gianni.naccio)
- Ilo Rivero (ilo.rivero)
- Jose Gregorio Castillo (jose.gregorio.castillo)
- Leonardo Lopes (leonardo.lopes)
- Leonardo Saraiva (leonardo.saraiva)
- manindra mallick (manindra.mallick)
- Marcin Urbanski (marcin.urbanski)
- Milos Vacek (milos.vacek)
- nie pin (nie.pin)
- Oleg Pozdnyakov (o.pozdnyakov)
- Pavel Lekhanov (lehanov)
- Ravinderjit Singh (ravinderjit.singh)
- Tamara Dobrynina (tamara.dobrynina)
- Teo Bon (teo.bon)
- Wael Soliman (wael.soliman)
Samples-5.1
Loan Process using MySQL database Loan Process using MySQL database
loanprocess_using_forms 06/02/2008,06:13 24.61 Kb
Description:
In this use case sample user enters name and salary of a particular person through a form. As the process flows a database call has been made in order to fetch all the values from database and displays in the form with the result according to salary.
If salary is 10000 then it displays the result as:
Cust_result: congratulations we are able to give the loan to you.
Startsalary: 10000
Endsalary: 20000
Loanamount: upto 100000
Duration: 1 year
Rate: 10 %
Use case dependencies:
- connection.wsdl
- connection.xsd
- PALoan.xform
- PALoan.xform.xsd
- PIPALoan.xform
- PIPALoan.xform.xsd
- query.sql
- query.prm
Requirements:
- Intalio|BPMS Server-5.1.1
- Intalio|BPMS Designer-5.1.1
- MySQL-5 database.
- mysql-connector-5.0.4.jar
Preconditions:
- Make sure Intalio|BPMS Server is up and running fine.
- Make sure the Process Explorer pane does not contain any Intalio|BPMS Business Process Project with same name.
Process Download & Import:
- Download LoanProcess.zip.
- Go to File > Import...
- Select 'Existing Projects into Workspace', in the wizard, click on Next >
- 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.

Defining Configurations:
MySQL Database:
All you need to have a table with the name Loan and with six fields (custresult, startsalary, endsalary, loanamount, duration, rate) in MySQL-5.
Note: we must create a table with four rows as shown below.
mysql> create table Loan (custresult varchar (70),startsalary varchar (10),endsalary varchar(10),loanamount varchar(20),duration varchar(10),rate varchar(10);
mysql> insert into Loan values('Unable to give the loan if salary is below 10000','0','9999','0','0','0');
mysql> insert into Loan values('Congratulations we are able to give the loan to you,10000','19999','up to 100000','1 year','10%');
mysql> insert into Loan values('Congratulations we are able to give the loan to you,20000','49999','up to 500000','2 years','7%');
mysql> insert into Loan values('Congratulations we are able to give the loan to you','50000','100000','up to 1000000','5 years','5%');
Designer
To configure jdbc connection:
- Refer to the reference guides>Intalio|BPMS Connector for JDBC
- Create Database Connection with the name as connection.
Server
- Go to [intalio-bpms-server]\var\config\jdbc-connector and create folder with name as connection.
Note: The folder name should always be similar to the name given for Database Connections in designer - Create a connection.properties file and paste it into connection folder.
Note The file can be obtained form the reference guides>Intalio|BPMS Connector for JDBC - Paste mysql-connector-5.0.4. jar file under [intalio-bpms-server]\repository\com\intalio\bpms\pxe\5.1.2\pxe-5.1.2.war\WEB-INF\lib
Note: You can obtain the jar file from [intalio-bpms-server]\repository\mysql\mysql-connector\5.0.4
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.
- Also verify and check Deploy processes & Deploy forms choice before click on Finish button.
- Open a web browser, provide url as: http://localhost:8080/ui-fw which takes to login screen or workflow.
- Login with the following credentials:
username: examples\ewilliams (without quotes).
password: password (without quotes). - Go to Processes tab and click on PIPALoan-init process LoanProcess/LoanProcess with form PIPALoan.xform.
- This should generate a form with two input fields to map input data.
- Type Name in Name field and Salary (eg:11000) in salary field then click on Start Process button.
- This will take you to the Tasks tab.
- Click on Refresh button and click on Ready link available under Tasks Tab.
- The form will display the result as:
Cust_result: Congratulations we are able to give the loan to you
Start_Salary: 10000
End_Salary: 19999
LoanAmount: Up to 100000
Duration: 1 year
Rate: 10% - Click on Complete button to complete the process.
