# US 2008/0306746 A1 · Executing business processes using persistent variables

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2008/0306746 A1
- Document ID: US20080306746A1
- Status: Published application
- Kind: A1
- Application number: 10/114,491
- Filed: 2002-04-01
- Published: 2008-12-11
- Earliest claimed: 2001-03-30
- Assignees: Oracle International Corporation
- Inventors: Felix G. Racca; Emilio L. Gabeiras
- Web page: https://patentgrep.com/patent/US20080306746A1

## CPC

- G06Q 10/06: Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q 10/06311: {Scheduling, planning or task assignment for a person or group}
- G06Q 10/063114: {Status monitoring or status determination for a person or group}
- G06Q 10/06316: {Sequencing of tasks or work}
- G06Q 10/0633: Workflow analysis
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR

## Abstract

Executing a business process includes initiating an instance of a business process comprising activities, where the instance has an instance variable. A first activity of the business process is executed, and a value corresponding to the instance variable is received. The instance variable and the value is recorded in an object, and the object is stored in a data repository. A second activity of the business process is executed, and the object is retrieved from the data repository for use with the second activity.

## Claims

### Claim 1

A computer implemented method for executing a business process, said method comprising:
constructing a graphical business process definition, said business process definition including a plurality of activities represented by graphical icons, said plurality of activities being coupled by a set of transitions;
storing the business process definition into a data repository on a computer;
initiating an instance of the business process by executing the business process definition stored in the data repository, the instance having an instance variable associated therewith, wherein the instance variable records state information for the instance of said business process;
executing a first activity of the instance of said business process;
receiving a value corresponding to the instance variable;
recording the instance variable and the value in an object;
storing the object in the data repository;
executing a second activity of the instance of said business process;
retrieving the object from the data repository for use with the second activity;
reading the value and the instance variable from said object by a task of the second activity; and
initiating a polymorphic sub-process depending on a variable embedded in said instance of the business process.

### Claim 2 (depends on 1)

The method of claim 1, wherein the instance has a plurality of instance variables, and further comprising:
receiving a plurality of values, each value corresponding to an instance variable;
recording each instance variable and corresponding value in an object;
serializing the objects; and
storing the serialized objects in the data repository.

### Claim 3 (depends on 1)

The method of claim 1, wherein the object comprises a Java object.

### Claim 4 (depends on 1)

The method of claim 1, wherein receiving the value corresponding to the variable comprises:
receiving the value from a second business process associated with an argument variable; and
mapping the instance variable to the argument variable.

### Claim 5

Software for executing a business process, the software embodied in a medium and executed by a computing device and when executed is operable to:
construct a graphical business process definition, said business process definition including a plurality of activities represented by graphical icons, said plurality of activities being coupled by a set of transitions;
store the business process definition into a data repository on a computer;
initiate an instance of the business process by executing the business process definition stored in the data repository, the instance having an instance variable associated therewith, wherein the instance variable records state information for the instance of said business process;
execute a first activity of the instance of said business process;
receive a value corresponding to the instance variable;
record the instance variable and the value in an object;
store the object in the data repository;
execute a second activity of the instance of said business process;
retrieve the object from the data repository for use with the second activity;
read the value and the instance variable from said object by a task of the second activity; and
initiate a polymorphic sub-process depending on a variable embedded in said instance of the business process.

### Claim 6 (depends on 5)

The software of claim 5, wherein:
the instance has a plurality of instance variables;
when executed by the computer, the software is operable to:
receive a plurality of values, each value corresponding to an instance variable;
record each instance variable and corresponding value in an object;
serialize the objects; and
store the serialized objects in the data repository.

### Claim 7 (depends on 5)

The software of claim 5, wherein the object comprises a Java object.

### Claim 8 (depends on 5)

The software of claim 5, operable to:
receive the value from a second business process associated with an argument variable; and
map the instance variable to the argument variable.

### Claim 9

A computer implemented method for executing a business process, said method comprising:
constructing a graphical business process definition, said business process definition including a plurality of activities represented by graphical icons, said plurality of activities being coupled by a set of transitions;
storing the business process definition into a data repository on a computer;
initiating a first instance of a first business process by executing the business process definition stored in the data repository, said first instance comprising an activity, the activity having an argument variable that is employed to transfer a value between different business process instances;
receiving a value corresponding to the argument variable;
recording the argument variable and the value in an object;
storing the object in the data repository;
initiating a second instance of a second business process, the instance having an instance variable;
mapping the argument variable to the instance variable;
retrieving the object from the data repository for use by the second instance;
reading the value and the argument variable from said object by the activity of the second business process; and
initiating a polymorphic sub-process depending on a variable embedded in said instance of the business process.

### Claim 10 (depends on 9)

The method of claim 9, wherein the activity has a plurality of argument variables, and further comprising:
receiving a plurality of values, each value corresponding to an argument variable;
recording each argument variable and corresponding value in an object;
serializing the objects; and
storing the serialized objects in the data repository.

### Claim 11 (depends on 9)

The method of claim 9, wherein the object comprises a Java object.

### Claim 12

Software for executing a business process, the software embodied in a medium and executed by a computing device and when executed is operable to:
construct a graphical business process definition, said business process definition including a plurality of activities represented by graphical icons, said plurality of activities being coupled by a set of transitions;
store the business process definition into a data repository;
initiate a first instance of a first business process by executing the business process definition stored in the data repository, said first instance comprising an activity, the activity having an argument variable that is employed to transfer a value between different business process instances;
receive a value corresponding to the argument variable;
record the argument variable and the value in an object;
store the object in the data repository;
initiate a second instance of a second business process, the instance having an instance variable;
map the argument variable to the instance variable;
retrieve the object from the data repository for use by the second instance;
reading the value and the argument variable from said object by the activity of the second business process; and
initiate a polymorphic sub-process depending on a variable embedded in said instance of the business process.

### Claim 13 (depends on 12)

The software of claim 12, wherein:
the activity has a plurality of argument variables; when executed by the computer, the software is operable to:
receive a plurality of values, each value corresponding to an argument variable;
record each argument variable and corresponding value in an object;
serialize the objects; and
store the serialized objects in the data repository.

### Claim 14 (depends on 12)

The software of claim 12, wherein the object comprises a Java object.

### Claim 15 (depends on 1)

The method of claim 1, wherein the first activity of said business process comprises a series of tasks that are executed to complete said first activity and wherein at least one of said tasks executes a component stored in a catalog.

### Claim 16 (depends on 15)

The method of claim 15 wherein said component comprises a modular software routine that has been compiled and that can be used with other components or programs.

### Claim 17 (depends on 1)

The method of claim 1 wherein the instance variable maintains the activity where the instance is at a given moment in time during a lifecycle of the instance of said business process.

### Claim 18 (depends on 9)

The method of claim 9 wherein the first activity of said first instance connects said first business process to said second business process.

### Claim 19 (depends on 1)

The method of claim 1, further comprising:
associating said task with a compensation task, wherein the compensation task is only executed if said task fails.

### Claim 20 (depends on 19)

The method of claim 19, wherein executing the compensation task attains a consistent state of the business process instance upon failure of said task.

### Claim 21 (depends on 1)

The method of claim 1, wherein said polymorphic sub-process generates instances in two or more different child processes sharing a same interface depending on variables embedded in a parent process, such that the instance of said business process is routed to the correct child process according to said variables.

### Claim 22 (depends on 1)

The method of claim 1, further comprising:
interrupting said instance of the business process by a different instance by transmitting a notification from said different instance, wherein said instance of the business process is automatically taken to a notification wait activity upon receiving said notification, regardless where the instance is in the business process.
