| Previous | Next |  | Contents | Index | Glossary

## ItemStatus

PL/SQL Syntax

`procedure ItemStatus`

        (itemtype in varchar2,

         itemkey in varchar2,

         status out varchar2,

         result out varchar2);

Java Syntax

`public static WFTwoDDataSource itemStatus`

        (WFContext wCtx,

         String itemType,

         String itemKey)

Description

Returns the status and result for the root process of the specified item instance. Possible values returned for the status are: ACTIVE, COMPLETE, ERROR, or SUSPENDED. If the root process does not exist, then the item key does not exist and will thus cause the procedure to raise an exception.

Arguments (input) | wCtxWorkflow context information. Required for the Java method only. See: Oracle Workflow Context.
| itemtypeA valid item type.
itemkey | A string generated from the application object's primary key. The string uniquely identifies the item within an item type. The item type and key together identify the item instance.

| Previous | Next |  | Contents | Index | Glossary