Genpact Cora Knowledge Center

Support

GET /userInstancesService.svc/GetAggregatedData

Returns open and closed processes for a user.

Method

GET

URL

https://localhost/Flowtime/_vti_bin/Flowtime/userInstancesService.svc/GetAggregatedData

Example Request

$.ajax({
type: "GET",
url: "http://server:port/_vti_bin/Flowtime/userInstancesService.svc/GetAggregatedData",
dataType: "json",
contentType: "application/json; charset=utf-8",
success: function (data) {
alert(data)
},
error: function (error) {
console.log(error);
}
});

Response Parameters

NameTypeDescription
CurrentRowsintegerNumber of items returned.
ItemsarrayList of items returned. Each item contains properties as defined in the config file, for example {WorkflowInstance:1 ,[etc.]}.
OpenintegerNumber of open processes.
CloseintegerNumber of closed processes.
TotalRowsintegerNumber of total items in the system.

Example Response

{"CurrentRows":10,
"Items":
[{"Open":7,
"Close":3
}]
,"TotalRows":12}