| Previous | Next |  | Contents | Index | Glossary

## GetAttrDoc

PL/SQL Syntax

`function GetAttrDoc`

      (nid in number,

       aname in varchar2,

       disptype in varchar2)

       return varchar2;

Java Syntax

`public static String getAttrDoc`

        (WFContext wCtx,

         BigDecimal nid,

         String aName,

         String dispType)

Description

Returns the displayed value of a Document-type attribute. The referenced document appears in either plain text or HTML format, as requested.

If you wish to retrieve the actual attribute value, that is, the document key string instead of the actual document, use GetAttrText( ).

Arguments (input) | wCtxWorkflow context information. Required for the Java method only. See: Oracle Workflow Context.
nid | The notification id.
aname | The message attribute name.
disptype | The display type of the document you wish to return. Valid display types are:

- wf_notification.doc_text, which returns text/plain

- wf_notification.doc_html, which returns text/html

- wf_notification.doc_attach, which returns null

| Previous | Next |  | Contents | Index | Glossary