Genpact Cora Knowledge Center

Support

GET /userInstancesService.svc/GetAggregatedDataByOwner

Returns the count of the open processes of the owner.

Method

GET

URL

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


Example Request

$.ajax({
type: "GET",
url: "http://server:port/_vti_bin/Flowtime/userInstancesService.svc/GetAggregatedDataByOwner",
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.]}.
TotalRowsintegerNumber of total items in the system.

Example Response

{
"CurrentRows":7,
"Items":WorkflowInstance:1 , WorkflowInstace:2,
"TotalRows": 22
 }