Oracle Workflow API Reference Release 2.6.3.5 Part Number B12163-02 |
Previous | Next | Contents | Index | Glossary |
procedure SetItemParent
(itemtype in varchar2,
itemkey in varchar2,
parent_itemtype in varchar2,
parent_itemkey in varchar2,
parent_context in varchar2);
Java Syntax
public static boolean setItemParent
(WFContext wCtx,
String itemType,
String itemKey,
String parentItemType,
String parentItemKey,
String parentContext)
Description
Defines the parent/child relationship for a master process and a detail process. This API must be called by any detail process spawned from a master process to define the parent/child relationship between the two processes. You make a call to this API after you call the CreateProcess API, but before you call the StartProcess API for the detail process.
Arguments (input)
wCtx | Workflow context information. Required for the Java method only. See: Oracle Workflow Context. |
itemtype or itemType | A valid item type. |
itemkey or 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 child process. |
Note: The item key for a process instance can only contain single-byte characters. It cannot contain a multibyte value.
parent_itemtype or parentItemType | A valid item type for the parent process. |
parent_itemkey or parentItemKey | A string generated from the application object's primary key to uniquely identify the item within the parent item type. The parent item type and key together identify the parent process. |
Note: The item key for a process instance can only contain single-byte characters. It cannot contain a multibyte value.
parent_context or parentContext | If the parent process contains more than one Wait for Flow activity, set this parameter to the activity label name for the Wait for Flow activity node that corresponds to this detail process. If the parent process contains only one Wait for Flow activity, you can leave the parent context null. |
Previous | Next | Contents | Index | Glossary |