CASECLOSE

Usage

TIBCO iProcess Workspace (Browser)

TIBCO iProcess Workspace (Windows)

Close a case of a procedure.

Syntax

For TIBCO iProcess Workspace (Windows)

CASECLOSE (procname, casenum)

For TIBCO iProcess Script Server Plug-in

CASECLOSE (procname, casenum, username)

where:

procname (text) is the procedure name.
casenum (numeric) is the case number.
username (text) is the user name. Username is mandatory for Script Server Plug-in and it is an invalid input for TIBCO iProcess Workspace (Windows).

Returns

One of the following numeric values:

Value

Description

1

Success

-100

Invalid or unknown procedure

-102

Invalid or unknown case number

-107

Specified case has terminated

-108

Unknown error from server

-114 Invalid or missing user name

Examples

TIBCO iProcess Modeler:

This example closes case 23 of the procedure Hiring.

CASECLOSE ("hiring", 23)

This example closes case 23 of the procedure Hiring with username swadmin.

CASECLOSE ("hiring", 23, "swadmin")

TIBCO Business Studio:

IPEProcessUtil.CASECLOSE("hiring", 23);
IPEProcessUtil.CASECLOSE("hiring", 23, "swadmin");