Oracle Workflow Guide
Release 2.6.2

Part Number A95265-02
Previous Next       Contents Index Glossary
         Previous  Next          Contents  Index  Glossary

GetActivityAttribute

PL/SQL 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;

function GetActivityAttrEvent
    (itemtype in varchar2,
     itemkey in varchar2,
     actid in number,
     name in varchar2) return wf_event_t;

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)

itemtype A 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: Synchronous, Asynchronous, and Forced Synchronous Processes.

actid The activity ID for a particular usage of an activity in a process definition. Also referred to as the activity ID of the node.
aname The internal name of an activity attribute, for GetActivityAttrText(), GetActivityAttrNumber(), and GetActivityAttrDate().
name The internal name of an activity attribute, for GetActivityAttrEvent().

See Also

Event Message Structure


         Previous  Next          Contents  Index  Glossary


Oracle
Copyright © 2002 Oracle Corporation.

All Rights Reserved.