Hi @yly
Try the rest-api : http://localhost:8091/query/historic-process-instances
Method: POST
Accept :JSON
Body : { "processInstanceId" : "2523", "includeProcessVariables":true }
Also, Ref: Issue in REST API history/historic-process-instances/17501