Oracle Workflow Guide Release 2.6.2 Part Number A95265-02 |
Previous | Next | Contents | Index | Glossary |
procedure GetAttrInfo
(nid in number, aname in varchar2, atype out varchar2, subtype out varchar2, format out varchar2);
Java Syntax
public static WFTwoDataSource 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. |
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 |