Hi @Tonny_Tc
I had the time to try the 2nd solution.
Kindly find attached a running simplified example in which script task is used.
test-multi-approval.bpmn (7.3 KB)
Below is a snip of the code used to query historical variable instances (assuming “approved” is the local variable name used in the multi-instance task)
execution.getProcessEngineServices().getHistoryService().createHistoricVariableInstanceQuery().processInstanceId(execution.getProcessInstanceId()).variableValueEquals("approved", true).count();