SW_GETCASE_STATUS_EX
The SW_GETCASE_STATUS_EX procedure retrieves the case status of a procedure.
Syntax
SW_GETCASE_STATUS_EX (
proc_num | ||
case_num | ||
case_status | varchar | |
proc_type | varchar | |
case_started |
where:
| • | proc_num is the procedure id for which the status needs to be retrieved. |
| • | case_number is the number of the case for which status needs to be retrieved. |
| • | case_status is the return value for case status. It can be one of the three values: Active, Suspended, or Dead. |
| • | proc_type defines the process type. The value is either Sub, or Main. |
| • | case_started returns the date and time when the case started. |
|
Note |
SW_GETCASE_STATUS_EX is similar to SW_GETCASE_STATUS except that it takes an extra parameter proc_num as one of the input parameters. |
|
Note |
In Process Engine versions prior to 10, case numbers were unique only under a given Procedure, but become duplicate at the Engine level. Since Procedures are always idenfitied by proc_num, in such situations, a proc_num is mandatory, to uniquely identify a case. SW_GETCASE_STATUS_EX is used in such a situation instead of SW_GETCASE_STATUS as it takes proc_num and case_num as inputs. |