5 is not a recognized status value by the PRT/PE.
Completed has the value of 2.
And it is not that easy to determine if the instance is active or not, as there several lines per instances in this table, indicating when it has been started (status = 1), completed (status = 2), failed (status = 4) and some other status entries depending on process logic. Each instance usually has at least a started entry and in best case at least a completed entry. When the process gets suspendend, resumed, resubmitted and so on, there can be unlimited number of entries per instance, making it hard to determine the most relevant one.
Regards,
Holger
#webMethods#webMethods-BPMS#BPM