using NativeHistoricTaskInstanceQuery how to get variables on. HistoricTaskInstance
I am using NativeHistoricTaskInstanceQuery to create a query that will return all tasks associated with a process containing a given task. i.e. I only have a single taskId to query on. This is working fine as I get a list of HistoricTaskInstance. The problem is, the task/process variables associated with those tasks are not in the HistoricTaskInstance I am getting back.