How to Call a Database From a Process

You can implement a call to a database from a business process application, and then deploy and test that application.

Prerequisites

You should be familiar with the basics of designing, implementing and deploying process-based applications using TIBCO Business Studio. If you are not familiar with these things, you should run through the following tutorials before attempting this one:

  • How to Design a Simple WelcomeUsers Business Service
  • How to Implement and Deploy the WelcomeUsers Application

You should work through each section in turn to complete the tutorial.

You can use a service task to establish a JDBC connection to an external database and execute a database operation - either a stored procedure, or a SQL query (a SELECT, INSERT, UPDATE or DELETE statement).

For simplicity, this tutorial runs a very simple query against the BPM runtime database.