Open topic with navigation

TIBCO iProcess® Engine 11.9.1

# SW_GETCASE_STATUS_EX

The `SW_GETCASE_STATUS_EX` procedure retrieves the case status of a procedure.

## Syntax

    SW_GETCASE_STATUS_EX (
    INproc_numinteger,INcase_numinteger,OUTcase_statusvarchar	2)OUTproc_typevarchar 2,OUTcase_starteddate,

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.

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO iProcess® Engine