Claims
- 1. A method for maintaining workflow related information, comprising:
providing at least one table in a database storing workflow related data; providing a plurality of programming interfaces, wherein each programming interface specifies an operation to perform on the workflow related data in the at least one table, wherein each programming interface is associated with one stored procedure call; providing in the database one stored procedure for each stored procedure call and corresponding method, wherein the stored procedure includes a plurality of database statements to perform the programming interface operation; and executing one stored procedure in the database to perform the corresponding programming interface operation on workflow related data in one table.
- 2. The method of claim 1, wherein one provided table comprises a workflow file table including entries of workflow files, wherein each workflow file includes code defining an entire workflow, including nodes and workflow parameters.
- 3. The method of claim 2, further comprising:
providing one table including information on actions associated with one workflow file in the workflow file table, wherein the associated actions are capable of being performed at the nodes defined in the associated workflow file.
- 4. The method of claim 1, wherein there are a plurality of tables including workflow related data, and wherein providing the plurality of programming interfaces and associated stored procedure calls and stored procedures further comprises:
providing a set of programming interfaces for each table including workflow related data, wherein each set of programming interfaces defines a same set of operations to perform on the table for which the set is provided; and providing stored procedure calls and stored procedures in the database for each set of programming interfaces to implement the programming interface operations in the set.
- 5. The method of claim 4, wherein the programming interfaces for each table are members of a table class, wherein there is one table class for each table including workflow related data.
- 6. The method of claim 4, wherein the workflow related tables comprise:
a workflow file table, wherein each entry includes one workflow file including code defining a workflow and nodes of the workflow; a worklist table, wherein each entry includes a worklist associated with a plurality of work items performed at the nodes defined in the associated workflow files; and an action list table, wherein each entry includes a list of actions capable of being performed at the nodes defined within one workflow file in the workflow file table.
- 7. The method of claim 6, wherein the workflow related tables further comprise:
an action table, wherein each entry includes one action name and an address of a program implementing the action, wherein every action listed in the entries of the action list table are defined in the action table.
- 8. The method of claim 4, wherein each set of programming interfaces includes:
a create programming interface to invoke one stored procedure to create an entry of workflow related data in the table associated with the set; a get programming interface to invoke one stored procedure to retrieve one entry of workflow related data from the table associated with the set; an update programming interface to invoke one stored procedure to update one entry of workflow related data in the table associated with the set; a delete programming interface to invoke one stored procedure to delete one entry of workflow related data in the table associated with the set; and a list programming interface to invoke one stored procedure to list a description of all entries of workflow related data in the table associated with the set.
- 9. The method of claim 1, further comprising:
receiving workflow related data from a workflow builder program, wherein the workflow builder program calls the programming interfaces to invoke the associated stored procedure calls and the stored procedures to perform the programming interface operations on the at least one table of workflow related data.
- 10. The method of claim 9, wherein one table comprises a workflow file table, wherein each entry of the workflow file table includes a workflow file including code defining an entire workflow, including nodes and workflow parameters, wherein the workflow files in the workflow file tables are generated by the builder program.
- 11. The method of claim 10, further comprising:
executing one stored procedure to retrieve one workflow file in response to receiving a stored procedure call invoked by a programming interface from the buildtime program to retrieve one workflow file, wherein the build time program exports the retrieved workflow file to a workflow engine.
- 12. The method of claim 10, wherein the workflow files are implemented in the FlowMark Definition Language (FDL).
- 13. A method for maintaining information in a database, comprising:
(a) receiving column definitions for multiple columns in at least one table; and (b) for each table for which column definitions are received, performing:
(i) generating a table in the database including one column for each column definition, wherein each column is generated with attributes specified by the column definition for which the column is generated; and (ii) generating at least one stored procedure including database statements in the database to perform an operation on the data in the generated table, wherein the stored procedure is capable of accessing the columns generated according to the column definitions.
- 14. The method of claim 13, wherein each provided programming interface comprises an object oriented programming interface.
- 15. The method of claim 14, wherein the provided programming interfaces are members of an object oriented class, wherein one class is provided for each generated table, and wherein the programming interfaces for one class are capable of invoking stored procedures to perform database operations on the table for which the class of programming interfaces are provided
- 16. The method of claim 13, further comprising:
providing one programming interface for each generated stored procedure, wherein each provided programming interface is called to invoke one stored procedure call to further invoke and execute one stored procedure in the database.
- 17. The method of claim 16, wherein a set of programming interfaces is provided for each table, wherein each set of programming interfaces includes:
a create programming interface to invoke one stored procedure to create an entry in the table associated with the set; a get programming interface to invoke one stored procedure to retrieve data from the table associated with the set; an update programming interface to invoke one stored procedure to update one entry in the table associated with the set; a delete programming interface to invoke one stored procedure to delete one entry in the table associated with the set; and a list programming interface to invoke one stored procedure to list a description of all entries in the table associated with the set.
- 18. The method of claim 13, wherein the information maintained in the at least one database table comprises workflow related information.
- 19. The method of claim 13, wherein each column definition indicates a data type and data length of the column.
- 20. A system for maintaining workflow related information, comprising:
a storage device; a database in the storage device including at least one table storing workflow related data; a computer readable medium including a plurality of programming interfaces, wherein each programming interface specifies an operation to perform on the workflow related data in the at least one table, wherein each programming interface is associated with one stored procedure call in the computer readable medium; means for providing one stored procedure in the database for each stored procedure call and corresponding programming interface, wherein the stored procedure includes a plurality of database statements to perform the programming interface operation; and means for executing one stored procedure in the database to perform the corresponding programming interface operation on workflow related data in one table.
- 21. The system of claim 20, wherein one provided table comprises a workflow file table including entries of workflow files, wherein each workflow file includes code defining an entire workflow, including nodes and workflow parameters.
- 22. The system of claim 22, further comprising:
one table in the database including information on actions associated with one workflow file in the workflow file table, wherein the associated actions are capable of being performed at the nodes defined in the associated workflow file.
- 23. The system of claim 20, wherein there are a plurality of tables including workflow related data in the database, and wherein the means for providing the plurality of programming interfaces and associated stored procedure calls and stored procedures further perform
providing a set of programming interfaces for each table including workflow related data, wherein each set of programming interfaces defines a same set of operations to perform on the table for which the set is provided; and providing stored procedure calls and stored procedures in the database for each set of programming interfaces to implement the programming interface operations in the set.
- 24. The system of claim 23, wherein the programming interfaces for each table are members of a table class, wherein there is one table class for each table including workflow related data.
- 25. The system of claim 23, wherein the workflow related tables in the database comprise:
a workflow file table, wherein each entry includes one workflow file including code defining a workflow and nodes of the workflow; a worklist table, wherein each entry includes a worklist associated with a plurality of work items performed at the nodes defined in the associated workflow files; and an action list table, wherein each entry includes a list of actions capable of being performed at the nodes defined within one workflow file in the workflow file table.
- 26. The system of claim 25, wherein the workflow related tables in the database further comprise:
an action table, wherein each entry includes one action name and an address of a program implementing the action, wherein every action listed in the entries of the action list table are defined in the action table.
- 27. The system of claim 23, wherein each set of programming interfaces in the computer readable medium includes:
a create programming interface to invoke one stored procedure to create an entry of workflow related data in the table associated with the set; a get programming interface to invoke one stored procedure to retrieve one entry of workflow related data from the table associated with the set; an update programming interface to invoke one stored procedure to update one entry of workflow related data in the table associated with the set; a delete programming interface to invoke one stored procedure to delete one entry of workflow related data in the table associated with the set; and a list programming interface to invoke one stored procedure to list a description of all entries of workflow related data in the table associated with the set.
- 28. The system of claim 20, further comprising:
means for receiving workflow related data from a workflow builder program, wherein the workflow builder program calls the programming interfaces to invoke the associated stored procedure calls and the stored procedures to perform the programming interface operations on the at least one table of workflow related data.
- 29. The system of claim 28, wherein one table in the database comprises a workflow file table, wherein each entry of the workflow file table includes a workflow file including code defining an entire workflow, including nodes and workflow parameters, wherein the workflow files in the workflow file tables are generated by the builder program.
- 30. The system of claim 29, further comprising:
means for executing one stored procedure to retrieve one workflow file in response to receiving a stored procedure call invoked by a programming interface from the buildtime program to retrieve one workflow file, wherein the build time program exports the retrieved workflow file to a workflow engine.
- 31. The system of claim 29, wherein the workflow files are implemented in the FlowMark Definition Language (FDL).
- 32. A system for maintaining information in a database, comprising:
(a) means for receiving column definitions for multiple columns in at least one table; (b) means for generating a table in the database including one column for each received column definition, wherein each column is generated with attributes specified by the column definition for which the column is generated; and (c) means for generating at least one stored procedure including database statements in the database to perform an operation on the data in the generated table, wherein the stored procedure is capable of accessing the columns generated according to the column definitions.
- 33. The system of claim 32, wherein each programming interface comprises an object oriented programming interface.
- 34. The system of claim 33, wherein the programming interfaces are members of an object oriented class, wherein one class is provided for each generated table, and wherein the programming interfaces for one class are capable of invoking stored procedures to perform database operations on the table for which the class of programming interfaces are provided.
- 35. The system of claim 32, further comprising:
a computer readable medium including one programming interface for each generated stored procedure, wherein each programming interface is called to invoke one stored procedure call to further invoke and execute one stored procedure in the database.
- 36. The system of claim 35, wherein the computer readable medium includes a set of programming interfaces for each table, wherein each set of programming interfaces in the computer readable medium includes:
a create programming interface to invoke one stored procedure to create an entry in the table associated with the set; a get programming interface to invoke one stored procedure to retrieve data from the table associated with the set; an update programming interface to invoke one stored procedure to update one entry in the table associated with the set; a delete programming interface to invoke one stored procedure to delete one entry in the table associated with the set; and a list programming interface to invoke one stored procedure to list a description of all entries in the table associated with the set.
- 37. The system of claim 32, wherein the information maintained in the at least one database table comprises workflow related information.
- 38. The system of claim 32, wherein each column definition indicates a data type and data length of the column.
- 39. An article of manufacture including code for maintaining workflow related information by:
providing at least one table in a database storing workflow related data; providing a plurality of programming interfaces, wherein each programming interface specifies an operation to perform on the workflow related data in the at least one table, wherein each programming interface is associated with one stored procedure call; providing in the database one stored procedure for each stored procedure call and corresponding programming interface, wherein the stored procedure includes a plurality of database statements to perform the programming interface operation; and executing one stored procedure in the database to perform the corresponding programming interface operation on workflow related data in one table.
- 40. The article of manufacture of claim 39, wherein one provided table comprises a workflow file table including entries of workflow files, wherein each workflow file includes code defining an entire workflow, including nodes and workflow parameters.
- 41. The article of manufacture of claim 40, further comprising one table including information on actions associated with one workflow file in the workflow file table, wherein the associated actions are capable of being performed at the nodes defined in the associated workflow file.
- 42. The article of manufacture of claim 39, wherein there are a plurality of tables including workflow related data, and wherein providing the plurality of programming interfaces and associated stored procedure calls and stored procedures further comprises:
providing a set of programming interfaces for each table including workflow related data, wherein each set of programming interfaces defines a same set of operations to perform on the table for which the set is provided; and providing stored procedure calls and stored procedures in the database for each set of programming interfaces to implement the programming interface operations in the set.
- 43. The article of manufacture of claim 42, wherein the programming interfaces for each table are members of a table class, wherein there is one table class for each table including workflow related data.
- 44. The article of manufacture of claim 42, wherein the workflow related tables comprise:
a workflow file table, wherein each entry includes one workflow file including code defining a workflow and nodes of the workflow; a worklist table, wherein each entry includes a worklist associated with a plurality of work items performed at the nodes defined in the associated workflow files; and an action list table, wherein each entry includes a list of actions capable of being performed at the nodes defined within one workflow file in the workflow file table.
- 45. The article of manufacture of claim 44, wherein the workflow related tables further comprise:
an action table, wherein each entry includes one action name and an address of a program implementing the action, wherein every action listed in the entries of the action list table are defined in the action table.
- 46. The article of manufacture of claim 42, wherein each set of programming interfaces includes:
a create programming interface to invoke one stored procedure to create an entry of workflow related data in the table associated with the set; a get programming interface to invoke one stored procedure to retrieve one entry of workflow related data from the table associated with the set; an update programming interface to invoke one stored procedure to update one entry of workflow related data in the table associated with the set; a delete programming interface to invoke one stored procedure to delete one entry of workflow related data in the table associated with the set; and a list programming interface to invoke one stored procedure to list a description of all entries of workflow related data in the table associated with the set.
- 47. The article of manufacture of claim 39, further comprising:
receiving workflow related data from a workflow builder program, wherein the workflow builder program calls the programming interfaces to invoke the associated stored procedure calls and the stored procedures to perform the programming interface operations on the at least one table of workflow related data.
- 48. The article of manufacture of claim 47, wherein one table comprises a workflow file table, wherein each entry of the workflow file table includes a workflow file including code defining an entire workflow, including nodes and workflow parameters, wherein the workflow files in the workflow file tables are generated by the builder program.
- 49. The article of manufacture of claim 48, further comprising:
executing one stored procedure to retrieve one workflow file in response to receiving a stored procedure call invoked by a programming interface from the buildtime program to retrieve one workflow file, wherein the build time program exports the retrieved workflow file to a workflow engine.
- 50. The article of manufacture of claim 48, wherein the workflow files are implemented in the FlowMark Definition Language (FDL).
- 51. An article of manufacture including code for maintaining information in a database by:
(a) receiving column definitions for multiple columns in at least one table; (b) for each table for which column definitions are received, performing: (i) generating a table in the database including one column for each column definition, wherein each column is generated with attributes specified by the column definition for which the column is generated; and (ii) generating at least one stored procedure including database statements in the database to perform an operation on the data in the generated table, wherein the stored procedure is capable of accessing the columns generated according to the column definitions.
- 52. The article of manufacture of claim 51, wherein each provided programming interface comprises an object oriented programming interface.
- 53. The article of manufacture of claim 52, wherein the provided programming interfaces are members of an object oriented class, wherein one class is provided for each generated table, and wherein the programming interfaces for one class are capable of invoking stored procedures to perform database operations on the table for which the class of programming interfaces are provided
- 54. The article of manufacture of claim 51, further comprising:
providing one programming interface for each generated stored procedure, wherein each provided programming interface is called to invoke one stored procedure call to further invoke and execute one stored procedure in the database.
- 55. The article of manufacture of claim 54, wherein a set of programming interfaces is provided for each table, wherein each set of programming interfaces includes:
a create programming interface to invoke one stored procedure to create an entry in the table associated with the set; a get programming interface to invoke one stored procedure to retrieve data from the table associated with the set; an update programming interface to invoke one stored procedure to update one entry in the table associated with the set; a delete programming interface to invoke one stored procedure to delete one entry in the table associated with the set; and a list programming interface to invoke one stored procedure to list a description of all entries in the table associated with the set.
- 56. The article of manufacture of claim 51, wherein the information maintained in the at least one database table comprises workflow related information.
- 57. The article of manufacture of claim 51, wherein each column definition indicates a data type and data length of the column.
RELATED APPLICATIONS
[0001] This application is related to the following copending and commonly assigned patent applications, which are incorporated herein by reference in their entirety:
[0002] “Method, System, and Program for Generating a Workflow”, having attorney docket no. STL920000094US1 and filed on Jun. 28, 2001;
[0003] “Method, System, and Program for Using Objects In Data Stores During Execution of a Workflow”, having attorney docket no. STL920000095US 1 and filed on Jun. 28, 2001;
[0004] “Method, System, and Program for Executing a Workflow”, having attorney docket no. STL920000099US1 and filed on Jun. 28, 2001; and
[0005] “Method, System, and Program for Performing Workflow Related Operations”, having attorney docket no. STL920000098US1 and filed on the same date herewith.