1 package WF_PROCESS_ACTIVITY AUTHID CURRENT_USER as
2 /* $Header: wfengs.pls 120.8.12020000.2 2012/10/02 21:28:18 alsosa ship $ */
3 /*#
4 * The Workflow Process Activity Status APIs can be called by an application program
5 * or a workflow function in the runtime phase to communicate with the engine
6 * and to change the status of each of the activities. These APIs are defined
7 * in a PL/SQL package called WF_PROCESS_ACTIVITY.
8 * @rep:scope private
9 * @rep:product OWF
10 * @rep:displayname Workflow Process Activity APIs
11 * @rep:lifecycle active
12 * @rep:compatibility S
13 * @rep:category BUSINESS_ENTITY WF_ENGINE
14 * @rep:ihelp FND/@eng_api See the related online help
15 */
16
17 procedure ClearCache;
18
19 function RootInstanceId(itemtype in varchar2,
20 itemkey in varchar2,
21 process in varchar2)
22 return number;
23
24 procedure ActivityName(
25 actid in number,
26 act_itemtype out NOCOPY varchar2,
27 act_name out NOCOPY varchar2);
28
29 function StartInstanceId(itemtype in varchar2,
30 process in varchar2,
31 version in number,
32 activity in varchar2)
33 return number;
34
35 function ActiveInstanceId(itemtype in varchar2,
36 itemkey in varchar2,
37 activity in varchar2,
38 status in varchar2)
39 return number;
40
41 function IsChild(
42 rootid in number,
43 acttype in varchar2,
44 actname in varchar2,
45 actdate in date)
46 return boolean;
47
48 function FindActivity(parentid in number,
49 activity in varchar2,
50 actdate in date)
51 return number;
52
53 end WF_PROCESS_ACTIVITY;