Previous  Next          Contents  Index  Glossary  Library

GetActivityAttribute

Syntax

function GetActivityAttrText

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

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

function GetActivityAttrDate
    (itemtype in varchar2,
     itemkey in varchar2,
     actid in number,
     aname in varchar2) return date;

Description

Returns the value of an activity attribute in a process. Use the correct function for your attribute type. If the attribute is a Number or Date type, then the appropriate function translates the number/date value to a text-string representation using the attribute format.

Note: Use GetActivityAttrText for Form, URLs, lookups and document attribute types.

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.
actid The activity ID for a particular usage of an activity in a process definition.
aname The internal name of an activity attribute.


         Previous  Next          Contents  Index  Glossary  Library