AnsweredAssumed Answered

Multi task with signal

Question asked by marcantoine on Oct 13, 2014
Latest reply on Oct 17, 2014 by jbarrez
Hi,

I currently test to do some work to test capabilities of Activiti.
My current problem is to design a workflow based on multiple service task who will wait a signal to ending the task.

It work fine using a single task, using a call with the execution of an action [http://www.activiti.org/userguide/index.html#N142E7]
But is it possible to refers to a specific task during this execution ?
Something like:
<javascript>PUT runtime/executions/{executionId}</javascript>
with the body message:
<javascript>
{
  "action":"signal",
  "task": "servicetask1"
}
</javascript>

If it isn't possible to do that, the best way is to define a signalName which can be filtered on each caller of the signal() method ?
Do you have to requirements to define signal names ? Is it okay to use a named based on the id of the current task (like serviceTask1) ?

Regards,

Outcomes