Resume Execution using REST in Alfresco Activiti

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2015 05:33 AM
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
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
Labels:
- Labels:
-
Archive
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2015 10:37 AM
Re-Posting it in Activiti Enterprise Forum.
