Type: Service Pack Request
Status: Open (View Workflow)
Affects Version/s: Alfresco Process Services 18.104.22.168, Alfresco Process Services 22.214.171.124
Fix Version/s: Alfresco Process Services .N
Component/s: APS REST API
Environment:APS v126.96.36.199 Windows and Linux
When using the APS REST API call
(see API Explorer: http://localhost:8080/activiti-app/api-explorer.html#!/process-instances/getProcessInstanceUsingGET) to retrieve a process instance by ID, the response returned for the "suspended" property is "false" for a suspended process instance.
Steps to Reproduce:
1. Use the following call to suspend an active process instance, e.g. by taking any active process instance ID from the Instances tab in activiti-admin:
NOTE: The response contains the suspended proeprty set to true:
2. Use the following call to retrieve the suspended process instance:
3. Inspect the response
After an active process instance has been suspended the GET call to retrieve the process instance should show that it has been suspended, i.e. "suspended": true.
After an active process instance has been suspended, when retrieving the process instance using a GET call, the process is showing "suspended": false. See exemplary response in step 3: