Type: Service Pack Request
Status: Open (View Workflow)
Affects Version/s: Alfresco Process Services 184.108.40.206, Alfresco Process Services 220.127.116.11
Fix Version/s: Alfresco Process Services .N
Component/s: APS REST API
Environment:APS v18.104.22.168 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: