List of process instances via REST returns empty processvariables

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2013 07:00 AM
It works on list of task as expected:
/runtime/tasks?includeProcessVariables = true
But don't work on list of process:
/runtime/process-instances?includeProcessVariables = true
Where you only get blank values "variables": []And the processvariables can successful be accessed thru variable directly.
/runtime/process-instances/{processId}/variables/{variable}
Regards
-
Trond
- Labels:
-
Archive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2013 03:25 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2013 05:08 AM
Regards
-
Trond
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2013 05:17 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2014 04:55 PM
I'll try 5.15 to see if it is fixed.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2014 07:13 PM
Thank you!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2014 08:06 PM
I built a war file and it does not list variables at all.
Also somehow the one I build returns XML instead of JSON.
–Gordon

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2014 09:14 PM


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2015 06:44 AM
I am also finding this issue. I tried rest call
http://localhost:8080/activiti-rest/service/runtime/process-instances?includeProcessVariables =true
Request payload
———————
{
"processDefinitionKey": "cancel_order_call_workflow",
"businessKey": "2456859",
"variables": [{
"name": "reason_code",
"value": "Not_Interessted"
},
{
"name": "user_intent",
"value": "return"
},
{
"name": "account_no",
"value": "123"
},
{
"name": "client_no",
"value": "123"
}]
}
Response
———–
<ProcessInstanceResponse>
<id>9515092</id>
<url>
http://localhost:8080/activiti-rest/service/runtime/process-instances/9515092
</url>
<businessKey>2456859</businessKey>
<suspended>false</suspended>
<ended>true</ended>
<processDefinitionId>cancel_order_call_workflow:1:9485004</processDefinitionId>
<processDefinitionUrl>
http://localhost:8080/activiti-rest/service/repository/process-definitions/cancel_order_call_workflo...
</processDefinitionUrl>
<activityId>cancelWorkflowEnd</activityId>
<variables/>
<tenantId/>
<completed>true</completed>
</ProcessInstanceResponse>
—————————————–
Here I am trying to return some value from my workflow and include that as part of my response( in <variables/>)
Please help me out - I am new to activiti
Thanks in advance
Siddu.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2015 11:24 AM
