COMBINING ODATA AND BPMN FOR A BUSINESS PROCESS VISIBILITY RESOURCE MODEL
The present disclosure describes methods, systems, and computer program products for providing a business process visibility resource model. One computer-implemented method includes receiving a request for process data from a client device, parsing the received request to determine a type of process data to return and to recover request parameters, determining the type of process data requested, accessing a process resource model and retrieving process data based upon the recovered request parameters, generating a response returning data in a format compliant with the type of process data requested, and transmitting the generated response data.
1 . A computer-implemented method comprising:
receiving a request for process data from a client device;
parsing the received request to determine a type of process data to return and to recover request parameters;
determining the type of process data requested;
accessing a process resource model and retrieving process data based upon the recovered request parameters;
generating a response returning data in a format compliant with the type of process data requested; and
transmitting the generated response data.
2 . The method of claim 1 , wherein the type of process data is one of process instance data or process definition data.
3 . The method of claim 1 , wherein the process resource model is an OData-based consumption entity model including a BPMN media link.
4 . The method of claim 3 , further comprising:
requesting process definition data using a BPMN media link attribute; and
receiving BMPN-compliant response data.
5 . The method of claim 1 , wherein the determination of the type of process data requested results in process instance data.
6 . The method of claim 5 , further comprising generating an OData-compliant response to the received request.
7 . The method of claim 1 , wherein the determination of the type of process data requested results in process definition data.
8 . The method of claim 7 , further comprising generating a BPMN-compliant response to the received request.
9 . A non-transitory, computer-readable medium storing computer-readable instructions executable by a computer to:
receive a request for process data from a client device;
parse the received request to determine a type of process data to return and to recover request parameters;
determine the type of process data requested;
access a process resource model and retrieving process data based upon the recovered request parameters;
generate a response returning data in a format compliant with the type of process data requested; and
transmit the generated response data.
10 . The medium of claim 9 , wherein the type of process data is one of process instance data or process definition data.
11 . The medium of claim 9 , wherein the process resource model is an OData-based consumption entity model including a BPMN media link.
12 . The medium of claim 11 , further comprising instructions to:
request process definition data using a BPMN media link attribute; and
receive BMPN-compliant response data.
13 . The medium of claim 9 , wherein the determination of the type of process data requested results in process instance data.
14 . The medium of claim 13 , further comprising instructions to generate an OData-compliant response to the received request.
15 . The medium of claim 9 , wherein the determination of the type of process data requested results in process definition data.
16 . The medium of claim 15 , further comprising instructions to generate a BPMN-compliant response to the received request.
17 . A computer system, comprising:
at least one computer configured to:
receive a request for process data from a client device;
parse the received request to determine a type of process data to return and to recover request parameters;
determine the type of process data requested;
access a process resource model and retrieving process data based upon the recovered request parameters;
generate a response returning data in a format compliant with the type of process data requested; and
transmit the generated response data.
18 . The system of claim 17 , wherein the type of process data is one of process instance data or process definition data.
19 . The system of claim 17 , wherein the process resource model is an OData-based consumption entity model including a BPMN media link.
20 . The system of claim 19 , further configured to:
request process definition data using a BPMN media link attribute; and
receive BMPN-compliant response data.
21 . The system of claim 17 , wherein the determination of the type of process data requested results in process instance data.
22 . The system of claim 21 , further configured to generate an OData-compliant response to the received request.
23 . The system of claim 17 , wherein the determination of the type of process data requested results in process definition data.
24 . The system of claim 23 , further configured to generate a BPMN-compliant response to the received request.