Open topic with navigation

TIBCO iProcess® Engine 11.9.1

# SW_GETCASE_STATUS

The `SW_GETCASE_STATUS` procedure returns the status of a case of a procedure.

## Syntax

    SW_GETCASE_STATUS (
    case_numnumeric(20),case_statusvarchar(10),proc_typevarchar(10),case_startedtimestamp)

where:

| • | `case_num` is the number of the case that you want to get the status of.

| • | `case_status` (output) is the name of a variable, defined in the calling program, into which `SW_GETCASE_STATUS` will return the status of the specified case.

| • | `proc_type` (output) is the name of a variable, defined in the calling program, into which `SW_GETCASE_STATUS` will return the procedure type of the specified case (for example, `Main` or `Sub`).

| • | `case_started` (output) is the name of a variable, defined in the calling program, into which `SW_GETCASE_STATUS` will return the ``date and time`` that the case was started.

## Example

This example displays the status of case `8`.

    CALL owner.SW_GETCASE_STATUS (8, ?, ?, ?)/

The output then displays the status of the case. Example:

    Active
    Main
    MAY 25 2005 3:36PM

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