Get Process Variables

Hello there!

Is there any REST API to fetch process variables of a process instance that is completed? I found this for an active instance but not for the completed one.

GET/process-instance/{id}/variables`

If yes - Can I fetch using business key/instance ID or any other identifier.

Thanks in advance.

Hi @Suraj_Agrawal,

Using REST API history resource you can query historical variable instances by process instance Id

thank you @hassang