I'm developing a workflow application that communicates with Activiti framework by REST API.
I'd like to create a tool that allows me to change process instance current task to another one in administrative way. This new task may by anyone in the process flow.
How can I achive this by REST API?
0
votes
2 Answers
1
votes
0
votes
If I understood correctly, you want to move a task from one process instance to another, right?
AFAIK, you can't do that with the standard rest api.
That said, I'd review your requirement carefully. A common scenario is that one need to "steal" an already assigned task to someone else because the current owner won't or can't complete it (eg: went on vacation). This can be accomplished by using the "unclaim" method and the explicitly assigning the task to someone else.
If you really need that kind of inter-instance interaction, maybe you can use ad-hoc tasks, which are not tied to a process instance.