Previous  Next          Contents  Index  Glossary

SetItemAttrDocument

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)

wCtxWorkflow context information. Required for the Java method only. See: Oracle Workflow Context.

itemtypeA 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: 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. See: To Define a Document Node.
<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