I define a process. The starter can go to the end step by step when every node say yes! but if any of the middle step receive "no", the stater will go to the end directly. My question is : how can I determine the result from the historicalquery interface. if the process is finished by every step say 'yes'. or interupted by some step with "no" answer?
i not sure ,but I thinkyou should have 2 "end node" in process with different name , when process in finish in yes step end with node1 and when finish with no end with node2 ,
act_hi_procinst table have end_act_id_ field and save endnode-id for process