DBA Data[Home] [Help]

APPS.WF_ITEM_ACTIVITY_STATUS dependencies on WF_PROCESS_ACTIVITY

Line 193: rootid := Wf_Process_Activity.RootInstanceId(itemtype, itemkey, root);

189: Wf_Core.Raise('WFENG_ITEM');
190: end if;
191:
192: -- Get root process actid
193: rootid := Wf_Process_Activity.RootInstanceId(itemtype, itemkey, root);
194: if (rootid is null) then
195: Wf_Core.Token('TYPE', itemtype);
196: Wf_Core.Token('NAME', root);
197: Wf_Core.Raise('WFENG_PROCESS_RUNNABLE');

Line 939: rootid := Wf_Process_Activity.RootInstanceId(itemtype, itemkey, root);

935:
936: -- If the root process is being marked completed or active,
937: -- then also update the end_date of the item.
938: Wf_Item.Root_Process(itemtype, itemkey, root, version);
939: rootid := Wf_Process_Activity.RootInstanceId(itemtype, itemkey, root);
940: if (actid = rootid) then
941: if (status = wf_engine.eng_completed) then
942: l_result := WF_ITEM.SetEndDate(itemtype, itemkey);
943: elsif (status = wf_engine.eng_active) then