Click or drag to resize

WorkflowServicesGetWorkflowReports Method


Retrieves a list of Pages that are in Workflow, and their current state

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.5.94
Syntax
public XHRServiceResponseGeneric<WorkflowReportData> GetWorkflowReports(
	DojoGridPaginatedRequest filter,
	string wfDefId = ""
)

Parameters

filter
Type: DojoGridPaginatedRequest

[Missing <param name="filter"/> documentation for "M:IngeniuxCMService.WorkflowServices.GetWorkflowReports(IngeniuxCMService.DojoGridPaginatedRequest,System.String)"]

wfDefId (Optional)
Type: SystemString
Operational parameter - Id of the Workflow Definition to get reports one. If not provided, retrieves reports for all Workflow Definitions

Return Value

Type: XHRServiceResponseGenericWorkflowReportData

Object containing listing of Pages in Workflow. It is designed to be injected into a Table/Grid.

Examples
Sample JSON return
JavaScript
{
    "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"
        }]
    }
}
Remarks

If Workflow Definition Id is specified, but Definition doesn't exist, returns error status.

See Also