Previous  Next          Contents  Index  Glossary

GetItemAttribute

PL/SQL Syntax

function GetItemAttrText

    (itemtype in varchar2,
itemkey in varchar2,
aname in varchar2) return varchar2;

function GetItemAttrNumber
(itemtype in varchar2,
itemkey in varchar2,
aname in varchar2) return number;

function GetItemAttrDate
(itemtype in varchar2,
itemkey in varchar2,
aname in varchar2) return date;

function GetItemAttrEvent
(itemtype in varchar2,
itemkey in varchar2,
name in varchar2) return wf_event_t;

Description

Returns the value of an item type attribute in a process. Use the correct function for your attribute type. All attribute types except number, date, and event use GetItemAttrText.

Arguments (input)

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 process. See: CreateProcess.

Note: Pass #SYNCH as the itemkey to create a forced synchronous process. See: Forced Synchronous Processes.

aname The internal name of an item type attribute, for GetItemAttrText(), GetItemAttrNumber(), and GetItemAttrDate().
name The internal name of an item type attribute, for GetItemAttrEvent().

See Also

Event Message Structure


         Previous  Next          Contents  Index  Glossary