URL: /DMWorkflow/GetActiveTasks

Method: POST

Descrizione

Questo metodo ritorna la lista dei task attivi per l'utente corrente.

Formato richieste

Legenda:
Parametro obbligatorio
Parametro opzionale
{
    'sessionID': SID
}

Formato risposte

{
    'result':
    {
        "HasError": false,
        "Error": "",
        "Tasks":
        [
            {
                "CustomUrl": "http://www.mysite.com?TaskId=xxxxxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx",
                "IdTask": "6c94876b-b624-4ecc-9d07-00f3c04f8a75",
                "IdProcess": "b8e3dd21-dff9-475b-a84b-28022a8a3eda",
                "ProcessName": "process name",
                "ProcessStart": "/Date(1456410967803)/",
                "InsertDt": "/Date(1456410970430)/",
                "TaskName": "task name",
                "TaskDescription": "task description",
                "KeepInCharge": true,
                "KeepInChargedDt": null,
                "KeepInChargeIdentityId": 3,
                "IndentityId": null,
                "ExternalId": null,
                "Priority": 0,
                "IdWorkflow": "ee0ed954-9618-4351-a990-fff0817f0eb5",
                "WorkflowName": "workflow name",
                "IdentityName": null,
                "KeepInChargeIdentityName": "user who took in charge",
                "EndDt": null,
                "WFServiceGetDt": null,
                "WFServiceInstanceId": null,
                "TaskState": 1,
                "IdRuntimeWorkflow": "473ef360-ba0c-4f80-847c-00bba1572171",
                "ErrorMessage": null,
                "DomainId": 2,
                "Domain": "domain name",
                "LanguageId": null,
                "Language": null,
                "OutcomeName": null,
                "OutcomeDescription": null,
                "OutcomeValue": null,
                "Notes": "",
                "DeadLine": "/Date(1456410970430)/",
                "Tags": ";tag1;tag2;"
            },
            {...},
            {...}
        ]
    }
}