procedure GetAttrInfo (nid in number, aname in varchar2, atype out varchar2, subtype out varchar2, format out varchar2);
public static WFTwoDArray getAttrInfo (WFContext wCtx, BigDecimal nid, String aName)
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.
| 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);