447: savepoint wf_savepoint;
448: --complete activity inline. If user wants to defer the thread, they
449: --should set cost above theshold.
450: --wf_engine.threshold := -1;
451: Wf_Engine_Util.Complete_Activity(itemtype, itemkey, actid, result, FALSE);
452: exception
453: when others then
454: -- If anything in this process raises an exception:
455: -- 1. rollback any work in this process thread
460: Wf_Core.Context('Fnd_Wf_Standard', 'Callback', itemtype,
461: itemkey, actid, result);
462: Wf_Item_Activity_Status.Set_Error(itemtype,
463: itemkey, actid, wf_engine.eng_exception, FALSE);
464: Wf_Engine_Util.Execute_Error_Process(itemtype,
465: itemkey, actid, wf_engine.eng_exception);
466: Wf_Core.Clear;
467: end;
468: