DBA Data[Home] [Help]

APPS.PA_WORKFLOW_UTILS dependencies on WF_ENGINE

Line 223: l_resp_id := wf_engine.GetItemAttrNumber

219: ,x_Log_Level => 3);
220: END IF;
221:
222: p_err_code := 0;
223: l_resp_id := wf_engine.GetItemAttrNumber
224: (itemtype => p_item_type,
225: itemkey => p_item_key,
226: aname => 'RESPONSIBILITY_ID' );
227:

Line 236: l_workflow_started_by_id := wf_engine.GetItemAttrNumber

232: ,x_Msg => pa_debug.g_err_stage
233: ,x_Log_Level => 3);
234: END IF;
235:
236: l_workflow_started_by_id := wf_engine.GetItemAttrNumber
237: (itemtype => p_item_type,
238: itemkey => p_item_key,
239: aname => 'WORKFLOW_STARTED_BY_ID' );
240:

Line 335: PA_DEBUG.g_err_stage := ' Calling wf_engine.SetItemAttrText in loop - Start ';

331:
332: -- Intialize First Ten WF Error Message Attributes
333:
334: IF P_PA_DEBUG_MODE = 'Y' Then
335: PA_DEBUG.g_err_stage := ' Calling wf_engine.SetItemAttrText in loop - Start ';
336: PA_DEBUG.write
337: (x_Module => g_module_name
338: ,x_Msg => pa_debug.g_err_stage
339: ,x_Log_Level => 3);

Line 343: wf_engine.SetItemAttrText

339: ,x_Log_Level => 3);
340: END IF;
341: FOR i IN 1..10 LOOP
342: l_attr_name := 'RULE_NOTE_'||i;
343: wf_engine.SetItemAttrText
344: (itemtype => p_item_type
345: , itemkey => p_item_key
346: , aname => l_attr_name
347: , avalue => l_msg_text

Line 351: PA_DEBUG.g_err_stage := ' Calling wf_engine.SetItemAttrText in loop - END ';

347: , avalue => l_msg_text
348: );
349: END LOOP;
350: IF P_PA_DEBUG_MODE = 'Y' Then
351: PA_DEBUG.g_err_stage := ' Calling wf_engine.SetItemAttrText in loop - END ';
352: PA_DEBUG.write
353: (x_Module => g_module_name
354: ,x_Msg => pa_debug.g_err_stage
355: ,x_Log_Level => 3);

Line 378: wf_engine.SetItemAttrText (itemtype => p_item_type,

374: p_encoded => FND_API.G_TRUE);
375: fnd_message.set_encoded (encoded_message => l_encoded_mesg);
376: l_msg_text := Fnd_Message.Get;
377: l_attr_name := 'RULE_NOTE_'||i;
378: wf_engine.SetItemAttrText (itemtype => p_item_type,
379: itemkey => p_item_key,
380: aname => l_attr_name,
381: avalue => l_msg_text );
382: END LOOP;

Line 559: WF_ENGINE.AbortProcess( p_Item_Type

555:
556: --debug_msg ( 'after client cancel_workflow call' );
557:
558: IF (x_return_status = FND_API.g_ret_sts_success) THEN
559: WF_ENGINE.AbortProcess( p_Item_Type
560: , p_Item_Key
561: );
562:
563: --debug_msg ( 'after WF_ENGINE abortProcess' );

Line 563: --debug_msg ( 'after WF_ENGINE abortProcess' );

559: WF_ENGINE.AbortProcess( p_Item_Type
560: , p_Item_Key
561: );
562:
563: --debug_msg ( 'after WF_ENGINE abortProcess' );
564:
565: --debug_msg ('before get task_id');
566:
567: END IF;

Line 630: PA_DEBUG.g_err_stage := 'Calling WF_ENGINE.CreateProcess - Start';

626: x_return_status := FND_API.G_RET_STS_SUCCESS;
627:
628: -- create the workflow process
629: IF P_PA_DEBUG_MODE = 'Y' Then
630: PA_DEBUG.g_err_stage := 'Calling WF_ENGINE.CreateProcess - Start';
631: PA_DEBUG.write
632: (x_Module => g_module_name
633: ,x_Msg => pa_debug.g_err_stage
634: ,x_Log_Level => 3);

Line 636: WF_ENGINE.CreateProcess( p_item_type

632: (x_Module => g_module_name
633: ,x_Msg => pa_debug.g_err_stage
634: ,x_Log_Level => 3);
635: END IF;
636: WF_ENGINE.CreateProcess( p_item_type
637: , x_item_key
638: , p_Process_Name);
639: IF P_PA_DEBUG_MODE = 'Y' Then
640: PA_DEBUG.g_err_stage := 'Calling WF_ENGINE.CreateProcess - End';

Line 640: PA_DEBUG.g_err_stage := 'Calling WF_ENGINE.CreateProcess - End';

636: WF_ENGINE.CreateProcess( p_item_type
637: , x_item_key
638: , p_Process_Name);
639: IF P_PA_DEBUG_MODE = 'Y' Then
640: PA_DEBUG.g_err_stage := 'Calling WF_ENGINE.CreateProcess - End';
641: PA_DEBUG.write
642: (x_Module => g_module_name
643: ,x_Msg => pa_debug.g_err_stage
644: ,x_Log_Level => 3);

Line 654: --debug_msg ( 'after WF_ENGINE createProcess: key = ' || x_item_key)

650: (x_Module => g_module_name
651: ,x_Msg => pa_debug.g_err_stage
652: ,x_Log_Level => 3);
653: END IF;
654: --debug_msg ( 'after WF_ENGINE createProcess: key = ' || x_item_key)
655:
656: EXCEPTION
657:
658: WHEN OTHERS THEN

Line 712: PA_DEBUG.g_err_stage := 'WF_ENGINE.StartProcess - Begin';

708: ,x_Log_Level => 3);
709: END IF;
710:
711: IF P_PA_DEBUG_MODE = 'Y' Then
712: PA_DEBUG.g_err_stage := 'WF_ENGINE.StartProcess - Begin';
713: PA_DEBUG.write
714: (x_Module => g_module_name
715: ,x_Msg => pa_debug.g_err_stage
716: ,x_Log_Level => 3);

Line 718: WF_ENGINE.StartProcess(

714: (x_Module => g_module_name
715: ,x_Msg => pa_debug.g_err_stage
716: ,x_Log_Level => 3);
717: END IF;
718: WF_ENGINE.StartProcess(
719: p_Item_Type
720: , p_Item_Key
721: );
722: IF P_PA_DEBUG_MODE = 'Y' Then

Line 723: PA_DEBUG.g_err_stage := 'WF_ENGINE.StartProcess - End';

719: p_Item_Type
720: , p_Item_Key
721: );
722: IF P_PA_DEBUG_MODE = 'Y' Then
723: PA_DEBUG.g_err_stage := 'WF_ENGINE.StartProcess - End';
724: PA_DEBUG.write
725: (x_Module => g_module_name
726: ,x_Msg => pa_debug.g_err_stage
727: ,x_Log_Level => 3);

Line 765: PA_DEBUG.g_err_stage := ' WF_ENGINE.AbortProcess - Begin';

761: x_return_status := FND_API.G_RET_STS_ERROR;
762:
763:
764: IF P_PA_DEBUG_MODE = 'Y' Then
765: PA_DEBUG.g_err_stage := ' WF_ENGINE.AbortProcess - Begin';
766: PA_DEBUG.write
767: (x_Module => g_module_name
768: ,x_Msg => pa_debug.g_err_stage
769: ,x_Log_Level => 3);

Line 772: WF_ENGINE.AbortProcess( p_Item_Type

768: ,x_Msg => pa_debug.g_err_stage
769: ,x_Log_Level => 3);
770: END IF;
771: -- abort the workflow process just launched, there is a problem
772: WF_ENGINE.AbortProcess( p_Item_Type
773: , p_Item_Key
774: );
775:
776: IF P_PA_DEBUG_MODE = 'Y' Then

Line 777: PA_DEBUG.g_err_stage := ' WF_ENGINE.AbortProcess - End';

773: , p_Item_Key
774: );
775:
776: IF P_PA_DEBUG_MODE = 'Y' Then
777: PA_DEBUG.g_err_stage := ' WF_ENGINE.AbortProcess - End';
778: PA_DEBUG.write
779: (x_Module => g_module_name
780: ,x_Msg => pa_debug.g_err_stage
781: ,x_Log_Level => 3);