Skip Headers

Oracle Workflow API Reference
Release 2.6.3

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

GetAttrInfo

PL/SQL Syntax

procedure GetAttrInfo

(nid in number,
aname in varchar2,
atype out varchar2,
subtype out varchar2,
format out varchar2);

Java Syntax

public static WFTwoDArray getAttrInfo

(WFContext wCtx,
BigDecimal nid,
String aName)

Description

Returns information about a notification attribute, such as its type, subtype, and format, if any is specified. The subtype is always SEND or RESPOND to indicate the attribute's source.

Arguments (input)

wCtx Workflow context information. Required for the Java method only. See: Oracle Workflow Context.
nid The notification ID.
aname The attribute name.
Example

The following code excerpt shows an example of how to call getAttrInfo() in a Java program. The example code is from the WFTest.java program.

dataSource = WFNotificationAPI.getAttrInfo(ctx, myNid,
myAttr);
displayDataSource(ctx, dataSource);
// the first element is the attribute type
myAttrType = (String) dataSource.getData(0,0);

         Previous  Next          Contents  Index  Glossary


Oracle Logo
Copyright © 2003 Oracle Corporation.

All rights reserved.