DBA Data[Home] [Help]

APPS.CSD_RO_BULLETINS_PVT dependencies on WF_ENGINE

Line 868: -- For setting WF engine threshold

864: ) IS
865: ---- local constants ----
866: c_api_name CONSTANT VARCHAR2(30) := 'CREATE_NEW_RO_BULLETIN_LINK';
867: c_api_version_number CONSTANT NUMBER := G_L_API_VERSION_NUMBER;
868: -- For setting WF engine threshold
869: c_wf_negative_threshold CONSTANT NUMBER := -1;
870:
871: ---- local variables ----
872: l_ro_bulletin_rec RO_BULLETIN_REC_TYPE;

Line 1143: l_wf_current_threshold := Wf_Engine.threshold;

1139: INTO l_wf_item_key
1140: FROM DUAL;
1141:
1142: --* Get the current threshold
1143: l_wf_current_threshold := Wf_Engine.threshold;
1144:
1145: --* Defer the wf process
1146: Wf_Engine.threshold := c_wf_negative_threshold;
1147:

Line 1146: Wf_Engine.threshold := c_wf_negative_threshold;

1142: --* Get the current threshold
1143: l_wf_current_threshold := Wf_Engine.threshold;
1144:
1145: --* Defer the wf process
1146: Wf_Engine.threshold := c_wf_negative_threshold;
1147:
1148:
1149: Wf_Engine.CreateProcess(itemtype => l_wf_item_type,
1150: itemkey => l_wf_item_key,

Line 1149: Wf_Engine.CreateProcess(itemtype => l_wf_item_type,

1145: --* Defer the wf process
1146: Wf_Engine.threshold := c_wf_negative_threshold;
1147:
1148:
1149: Wf_Engine.CreateProcess(itemtype => l_wf_item_type,
1150: itemkey => l_wf_item_key,
1151: process => l_wf_process_name --,
1152: -- user_key => NULL,
1153: -- owner_role => NULL

Line 1156: Wf_Engine.StartProcess(itemtype => l_wf_item_type,

1152: -- user_key => NULL,
1153: -- owner_role => NULL
1154: );
1155:
1156: Wf_Engine.StartProcess(itemtype => l_wf_item_type,
1157: itemkey => l_wf_item_key
1158: );
1159:
1160:

Line 1163: Wf_Engine.threshold := l_wf_current_threshold;

1159:
1160:
1161: --* Set engine to orginal threshold.
1162: --* Otherwise all WF process in this session will be deferred.
1163: Wf_Engine.threshold := l_wf_current_threshold;
1164: END IF; --* end IF (l_wf_item_type IS NOT NULL) *--
1165:
1166: --** debug starts!!
1167: --dbms_output.put_line('in CREATE_NEW_RO_BULLETIN_LINK after get_bulletin_info ');