You need to query the database to get the status of your business process definition (BPD) instances. What is the meaning of the EXECUTION_STATUS field in the LSW_BPD_INSTANCE table?
| Flag | Meaning |
| 1 | The BPD instance is active. |
| 2 | The BPD instance has completed. |
| 3 | The BPD instance has failed. Look at the ERROR and ERROR_STACK_TRACE for further details. |
| 4 | The BPD instance has terminated. |
| 5 | The BPD instance did not start because its message event condition returned false. |
| 6 | The BPD instance is suspended, |