AnsweredAssumed Answered

Access process variables

Question asked by jemclaurin2022 on Jan 29, 2016
Latest reply on Jan 30, 2016 by jemclaurin2022
I have created a process using REST APIs as such:
http://localhost:8080/activiti-rest/service/runtime/process-instances
POST
{
    "processDefinitionId": "Review:1:2508",
    "variables": [
        {
            "name": "assignTo",
            "value": "admin"
        },
        {
            "name": "taskPriority",
            "value": "taskPNormal"
        },
        {
            "name": "workflowDescription",
            "value": "desc"
        },
       {
           "name":"dueDate",
           "value":"2015-04-15T00:42:12Z",
           "type":"date"
       }
    ]
}

How do I access these variables in a task?

Outcomes