AnsweredAssumed Answered

Resume Execution using REST in Alfresco Activiti

Question asked by skrish on Dec 16, 2015
Latest reply on Dec 16, 2015 by skrish
Hi,

I have a service task with class referring to a Delegate that is extending TaskActivityBehavior.
Objective:
Once the process instance is started, the execution pauses at this Service task and want to resume only after a signal is received.

I could resume the execution in Activiti Explorer using the REST call spec given at-
http://activiti.org/userguide/index.html#_execute_an_action_on_an_execution

PUT http://localhost:8080/activiti-rest/service/runtime/executions/<executionId>
Payload:
{
  "action": "signal" 
}

However, I don't see an equivalent REST API in Alfresco Activiti.
When tried the same call with PUT and the same payload, getting a "404 - Not Found"

PUT http://localhost:8080/activiti-app/api/enterprise/executions/5001
Payload:
{
  "action": "signal" 
}

Can you please let me know how to resume the execution the way we do in Activiti Open Source?
Attaching the delegate class.

Thanks,
Siva

Attachments

Outcomes