cancel
Showing results for 
Search instead for 
Did you mean: 

Resume Execution using REST in Alfresco Activiti

skrish
Champ in-the-making
Champ in-the-making
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
1 REPLY 1

skrish
Champ in-the-making
Champ in-the-making
Re-Posting it in Activiti Enterprise Forum.