WorkflowServicesGetWorkflowReports Method |
Namespace: IngeniuxCMService
public XHRServiceResponseGeneric<WorkflowReportData> GetWorkflowReports( DojoGridPaginatedRequest filter, string wfDefId = "" )
[Missing <param name="filter"/> documentation for "M:IngeniuxCMService.WorkflowServices.GetWorkflowReports(IngeniuxCMService.DojoGridPaginatedRequest,System.String)"]
Object containing listing of Pages in Workflow. It is designed to be injected into a Table/Grid.
{
"code": 0,
"error": null,
"message": {
"columns": [{
"name": "Page",
"field": "pageName",
"igxtype": "pagename",
"relWidth": 2
}, {
"name": "xID",
"field": "id",
"igxtype": "xid",
"relWidth": 1
}, {
"name": "Workflow",
"field": "workflow",
"igxtype": null,
"relWidth": 2
}, {
"name": "Workstate",
"field": "workstate",
"igxtype": null,
"relWidth": 2
}, {
"name": "Group",
"field": "group",
"igxtype": null,
"relWidth": 2
}, {
"name": "Assigned To",
"field": "assignedTo",
"igxtype": null,
"relWidth": 2
}, {
"name": "Last Updated",
"field": "lastUpdated",
"igxtype": "date",
"relWidth": 2
}, {
"name": "Last Comment",
"field": "lastComment",
"igxtype": null,
"relWidth": 2
}],
"report": [{
"assignedTo": "Administrators",
"group": "Administrators",
"id": "x11",
"lastComment": "Existing page added to workflow",
"lastUpdated": "20140204T17:09:09",
"pageName": "About Us",
"workflow": "Standard",
"workstate": "Authoring"
}, {
"assignedTo": "Administrators",
"group": "Administrators",
"id": "x9",
"lastComment": "Existing page added to workflow",
"lastUpdated": "20140204T17:10:46",
"pageName": "Terms",
"workflow": "Standard",
"workstate": "Authoring"
}]
}
}If Workflow Definition Id is specified, but Definition doesn't exist, returns error status.