593: arp_util.debug('arw_cmreq_cover.ar_request_cm(-)' || l_profile_value);
594: END IF;
595: IF (l_profile_value = 'Y') Then
596: BEGIN
597: l_threshold := WF_ENGINE.threshold;
598: WF_ENGINE.threshold :=50;
599: wf_engine.createprocess('ARAMECM', l_request_id, 'CMREQ_APPROVAL');
600: wf_engine.startprocess ('ARAMECM', l_request_id);
601: WF_ENGINE.threshold :=l_threshold;
594: END IF;
595: IF (l_profile_value = 'Y') Then
596: BEGIN
597: l_threshold := WF_ENGINE.threshold;
598: WF_ENGINE.threshold :=50;
599: wf_engine.createprocess('ARAMECM', l_request_id, 'CMREQ_APPROVAL');
600: wf_engine.startprocess ('ARAMECM', l_request_id);
601: WF_ENGINE.threshold :=l_threshold;
602: END;
595: IF (l_profile_value = 'Y') Then
596: BEGIN
597: l_threshold := WF_ENGINE.threshold;
598: WF_ENGINE.threshold :=50;
599: wf_engine.createprocess('ARAMECM', l_request_id, 'CMREQ_APPROVAL');
600: wf_engine.startprocess ('ARAMECM', l_request_id);
601: WF_ENGINE.threshold :=l_threshold;
602: END;
603: ELSE
596: BEGIN
597: l_threshold := WF_ENGINE.threshold;
598: WF_ENGINE.threshold :=50;
599: wf_engine.createprocess('ARAMECM', l_request_id, 'CMREQ_APPROVAL');
600: wf_engine.startprocess ('ARAMECM', l_request_id);
601: WF_ENGINE.threshold :=l_threshold;
602: END;
603: ELSE
604: BEGIN
597: l_threshold := WF_ENGINE.threshold;
598: WF_ENGINE.threshold :=50;
599: wf_engine.createprocess('ARAMECM', l_request_id, 'CMREQ_APPROVAL');
600: wf_engine.startprocess ('ARAMECM', l_request_id);
601: WF_ENGINE.threshold :=l_threshold;
602: END;
603: ELSE
604: BEGIN
605: l_threshold := WF_ENGINE.threshold;
601: WF_ENGINE.threshold :=l_threshold;
602: END;
603: ELSE
604: BEGIN
605: l_threshold := WF_ENGINE.threshold;
606: WF_ENGINE.threshold :=50;
607: wf_engine.createprocess('ARCMREQ', l_request_id, 'CMREQ_APPROVAL');
608: wf_engine.startprocess ('ARCMREQ', l_request_id);
609: WF_ENGINE.threshold :=l_threshold;
602: END;
603: ELSE
604: BEGIN
605: l_threshold := WF_ENGINE.threshold;
606: WF_ENGINE.threshold :=50;
607: wf_engine.createprocess('ARCMREQ', l_request_id, 'CMREQ_APPROVAL');
608: wf_engine.startprocess ('ARCMREQ', l_request_id);
609: WF_ENGINE.threshold :=l_threshold;
610: END;
603: ELSE
604: BEGIN
605: l_threshold := WF_ENGINE.threshold;
606: WF_ENGINE.threshold :=50;
607: wf_engine.createprocess('ARCMREQ', l_request_id, 'CMREQ_APPROVAL');
608: wf_engine.startprocess ('ARCMREQ', l_request_id);
609: WF_ENGINE.threshold :=l_threshold;
610: END;
611: END IF;
604: BEGIN
605: l_threshold := WF_ENGINE.threshold;
606: WF_ENGINE.threshold :=50;
607: wf_engine.createprocess('ARCMREQ', l_request_id, 'CMREQ_APPROVAL');
608: wf_engine.startprocess ('ARCMREQ', l_request_id);
609: WF_ENGINE.threshold :=l_threshold;
610: END;
611: END IF;
612:
605: l_threshold := WF_ENGINE.threshold;
606: WF_ENGINE.threshold :=50;
607: wf_engine.createprocess('ARCMREQ', l_request_id, 'CMREQ_APPROVAL');
608: wf_engine.startprocess ('ARCMREQ', l_request_id);
609: WF_ENGINE.threshold :=l_threshold;
610: END;
611: END IF;
612:
613: END IF;