Patent ID: 8914807

Claim:
A computer implemented method for generating a program that interacts in a computing environment including a workflow engine and an external database program, wherein the workflow engine implements a workflow of operations, wherein the workflow uses a runtime database to provide status and setup information for workflow process execution, and wherein the external database program performs operations with respect to an external database that is separate from the runtime database used by the workflow, comprising: receiving, by the computer, as input a definition file defining the workflow of operations; receiving, at the computer, as input mapping information defining input parameters to the workflow of operations; processing, by the computer, the received definition file and mapping information to generate program statements within the program that when executed perform: setting input parameters to the workflow of operations to values received from an external call to the program by the database program; invoking the workflow of operations with the input parameters including values from the external call from the database program by transmitting a call to the workflow engine, wherein the workflow engine and the external database program are external to the program in the computing environment; receiving output from the workflow of operations in response to the call to the workflow engine; and extracting at least one value from the received output to return to the database program that made the external call.