cancel
Showing results for 
Search instead for 
Did you mean: 

Fetch VariableInstanceEntity using VariableInstanceId

mittalabhi86
Champ in-the-making
Champ in-the-making
Hello Team,

One of our requirement needs me to fetch the VariableInstanceEntity using variableInstanceId. I found no method in VariableInstanceEntityManager for this, as well as no Native query interface for VariableInstance. It would be a big help, if you can guide me through this.

Secondly, using same VariableInstanceId, I need to fetch the ACT_HI_DETAIL as well. I would appreciate some guidance for that as well.

Regards
Abhishek
1 REPLY 1

trademak
Star Contributor
Star Contributor
Hi Abhishek,

For this historic tables there's the HistoricVariableInstanceQuery that allows you to query the ACT_HI_VARINST table and there's the HistoricDetailQuery that allows you to query the ACT_HI_DETAIL table. When you have a specific variable instance id you probably want to use the HistoricVariableInstanceQuery. There's no equivalent for the runtime variables yet, but we should add that. I'll look into this.

Best regards,