Hi Suhas,
from where are you trying to query this information? Does this help?
https://docs.camunda.org/manual/latest/reference/rest/history/variable-instance/get-variable-instance/
https://docs.camunda.org/manual/latest/reference/rest/history/variable-instance/post-variable-instance-query/
You POST
{{rest_url}}/history/variable-instance/?deserializeValue=false
with filter criteria in the JSON body. For instance:
{
“processInstanceId”:“da0e220e-0ae1-11ea-a5c4-00155d00d800”
}
Here is a postman collection with a working usage example:
For Java, please also see:
Hi,
I’m using HistoryVariableInstanceQuery to fetch all the list of TypedValue variables of a completed process.
HistoricVariableInstanceQuery historyVariableInstanceQuery = historyVariableInstanceQuery
.createHistoricVariableInstanceQuery().processInstanceId("some id");
TypedValue characteristicValue = historyVariableInstanceQuery
.variableName("some variable name").singleResult().getTypedValue();
But I have to each time call historyvariableInstanceQuery method to get individual Ty…
Best
Rob