AnsweredAssumed Answered

How to create List and Map variables types using REST

Question asked by penusila611621 on Sep 29, 2014
Latest reply on Oct 30, 2014 by trademak
Hi,

have one of the requriement where I need to create a variable on existing task using following rest URL.

POST http://hostname:port/activiti-rest/service/runtime/tasks/taskId/variables

In the body,
[
  {
    "name" : "listNames",
    "scope" : "local",
    "type" : "list",
    "value" : "ok"
  }
]


This is not working, somebody please advice me on how to create a variable types like List & Map using above rest calls.

Outcomes