Oracle Workflow API Reference Release 2.6.3 Part Number B10286-02 |
Previous | Next | Contents | Index | Glossary |
procedure AddAttr
(nid in number,
aname in varchar2);
Java Syntax
public static boolean addAttr
(WFContext wCtx,
BigDecimal nid,
String aName)
Description
Adds a new runtime notification attribute. You should perform validation and insure consistency in the use of the attribute, as it is completely unvalidated by Oracle Workflow.
Arguments (input)
wCtx | Workflow context information. Required for the Java method only. See: Oracle Workflow Context. |
nid | The notification ID. |
aname | The attribute name. |
avalue | The attribute value. |
The following code excerpt shows an example of how to call addAttr() in a Java program. The example code is from the WFTest.java program.
if (WFNotificationAPI.addAttr(ctx, myNid, myAttr) == false)
{
System.out.println("Add attribute " + myAttr + " failed.");
}
Previous | Next | Contents | Index | Glossary |