Reading variables when process completes after TaskService#submitTaskFormData

When a form is set as last step in a process definition, invoking TaskService#submitTaskFormData will complete the process, as expected.

Is there any way to fetch the variables possibly stored into the process instance before this gets cleared out due to completion, after form submit?

Thanks in advance.

Forgot to add: my ProcessEngineConfiguration's historyLevel is set to ACTIVITY