摘要 |
The invention discloses a data storage method, an inquiring method and an inquiring device for a workflow table. The data storage method comprises the following steps: pre-setting the workflow table; searching a flow defining table according to the name of flow and obtaining flow defining data corresponding to the name of flow; parsing the flow defining data and starting a flow instance according to the parsed flow description data; and operating the flow instance according to the flow description data from an initial node of the flow instance, wherein in the process of operating the flow instance, activity data generated by the flow node is stored in an activity instance table as data record, description information in the process of operating the flow instance is stored in the flow instance table as data record, and the flow instance table and the activity instance table have the same flow ID. According to the data storage method, the inquiring method and the inquiring device for the workflow table, result data executed by the workflow is just stored in the flow instance table and the activity instance table, so that the data record is more convenient to store and the operating performance of the workflow is improved. |