assignment3_SubProcess - uoForms/ebc6230-bpm GitHub Wiki
#This page describes the process solution flow with screenshots
Back to Assignment3_SubProcess
Note: Screenshots of the process will remain same as Assignment 2.
Screenshot of the altered model with subprocess is shown below-
As seen in the above screenshots, service to get inventory items, browse inventory items activity, and request selected item activity are all encapsulated in a single activity.
This activity containing three other activities is used in the business process model.
The goal of monitoring this business process will be to determine the duration of the approval process and the rejection process. The results will be graphically represented through the use of dashboard reports. Use the Monitoring and Dashboard Reports tutorials to configure your business process to support the following monitoring and reporting requirements:
Process Model
-
Create a complex business object and name it AverageDurations. Add two parameters called approved (decimal) and rejected (decimal).
-
Retrieve the average durations for accepted and rejected orders using:
WSDL URI: https://bpm2.site.uottawa.ca:9443/teamworks/webservices/AWS/Assignments.tws?WSDL Operation: getAverageDurations() Output parameter: List of AverageDurations
-
On the Human Service, the script 'Build Chart Data' needs to have the following code inserted:
tw.local.ChartData={
plots: [
{
series:[
{
label: "Request submission results",
data: []
}
]
}
]
};
var chartData = [];
chartData[0] = {
"name": "" + "Approved",
"value": tw.local.SQLResultSet[0].approved
};
chartData[1] = {
"name": "" + "Rejected",
"value": tw.local.SQLResultSet[0].rejected
};
tw.local.ChartData.plots[0].series[0].data=chartData;
The dashboard report is illustrated below: