Oracle Workflow Guide Release 2.6.2 Part Number A95265-03 |
Contents | Index | Glossary | Master Index | Feedback |
Attention: Document management functionality is reserved for future use. This description of the SetItemAttrDocument API is provided for reference only.
PL/SQL Syntax
procedure SetItemAttrDocument
(itemtype in varchar2,
itemkey in varchar2,
aname in varchar2,
documentid in varchar2);
Java Syntax
public static boolean setItemAttrDocument
(WFContext wCtx,
String itemType,
String itemKey,
String aName,
String documentId)
Description
Sets the value of an item attribute of type document, to a document identifier.
Arguments (input)
wCtx | Workflow context information. Required for the Java method only. See: Oracle Workflow Context. |
itemtype | A valid item type. |
itemkey | A string generated from the application object's primary key. The string uniquely identifies the item within an item type. The item type and key together identify the process. See: CreateProcess. |
Note: You can pass #SYNCH as the itemkey to create a forced synchronous process. See: Synchronous, Asynchronous, and Forced Synchronous Processes.
aname | The internal name of the item type attribute. |
documentid | The value for the item type attribute as a fully concatenated string of the following values: |
DM:<node_id>:<doc_id>:<version> | |
<node_id> is the node ID assigned to the document management system node as defined in the Document Management Nodes web page. | |
<doc_id> is the document ID of the document, as assigned by the document management system where the document resides. | |
<version> is the version of the document. If a version is not specified, the latest version is assumed. |
Previous | Next | Contents | Index | Glossary |