Oracle Workflow Guide Release 2.6.2 Part Number A95265-03 |
Contents | Index | Glossary | Master Index | Feedback |
procedure SetAttrText
(nid in number,
aname in varchar2,
avalue in varchar2);
procedure SetAttrNumber
(nid in number,
aname in varchar2,
avalue in number);
procedure SetAttrDate
(nid in number,
aname in varchar2,
avalue in date);
Java Syntax
public static boolean setAttrText
(WFContext wCtx,
BigDecimal nid,
String aName,
String aValue)
public static boolean setAttrNumber
(WFContext wCtx,
BigDecimal nid,
String aName,
BigDecimal aValue)
public static boolean setAttrDate
WFContext wCtx,
BigDecimal nid,
String aName,
String aValue)
Description
Used at both send and respond time to set the value of notification attributes. The notification agent (sender) may set the value of SEND attributes. The performer (responder) may set the value of RESPOND attributes.
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 a setAttribute method in a Java program. The example code is from the WFTest.java program.
if (WFNotificationAPI.setAttrDate(ctx, myNid, myAttr, value)
== false)
{
System.out.println("set attribute " + myAttr + " to " +
value + " failed.");
}
Previous | Next | Contents | Index | Glossary |