545: arp_util.debug('arw_cmreq_cover.ar_request_cm(-)' || l_profile_value);
546: END IF;
547: IF (l_profile_value = 'Y') Then
548: BEGIN
549: l_threshold := WF_ENGINE.threshold;
550: WF_ENGINE.threshold :=50;
551: wf_engine.createprocess('ARAMECM', l_request_id, 'CMREQ_APPROVAL');
552: wf_engine.startprocess ('ARAMECM', l_request_id);
553: WF_ENGINE.threshold :=l_threshold;
546: END IF;
547: IF (l_profile_value = 'Y') Then
548: BEGIN
549: l_threshold := WF_ENGINE.threshold;
550: WF_ENGINE.threshold :=50;
551: wf_engine.createprocess('ARAMECM', l_request_id, 'CMREQ_APPROVAL');
552: wf_engine.startprocess ('ARAMECM', l_request_id);
553: WF_ENGINE.threshold :=l_threshold;
554: END;
547: IF (l_profile_value = 'Y') Then
548: BEGIN
549: l_threshold := WF_ENGINE.threshold;
550: WF_ENGINE.threshold :=50;
551: wf_engine.createprocess('ARAMECM', l_request_id, 'CMREQ_APPROVAL');
552: wf_engine.startprocess ('ARAMECM', l_request_id);
553: WF_ENGINE.threshold :=l_threshold;
554: END;
555: ELSE
548: BEGIN
549: l_threshold := WF_ENGINE.threshold;
550: WF_ENGINE.threshold :=50;
551: wf_engine.createprocess('ARAMECM', l_request_id, 'CMREQ_APPROVAL');
552: wf_engine.startprocess ('ARAMECM', l_request_id);
553: WF_ENGINE.threshold :=l_threshold;
554: END;
555: ELSE
556: BEGIN
549: l_threshold := WF_ENGINE.threshold;
550: WF_ENGINE.threshold :=50;
551: wf_engine.createprocess('ARAMECM', l_request_id, 'CMREQ_APPROVAL');
552: wf_engine.startprocess ('ARAMECM', l_request_id);
553: WF_ENGINE.threshold :=l_threshold;
554: END;
555: ELSE
556: BEGIN
557: l_threshold := WF_ENGINE.threshold;
553: WF_ENGINE.threshold :=l_threshold;
554: END;
555: ELSE
556: BEGIN
557: l_threshold := WF_ENGINE.threshold;
558: WF_ENGINE.threshold :=50;
559: wf_engine.createprocess('ARCMREQ', l_request_id, 'CMREQ_APPROVAL');
560: wf_engine.startprocess ('ARCMREQ', l_request_id);
561: WF_ENGINE.threshold :=l_threshold;
554: END;
555: ELSE
556: BEGIN
557: l_threshold := WF_ENGINE.threshold;
558: WF_ENGINE.threshold :=50;
559: wf_engine.createprocess('ARCMREQ', l_request_id, 'CMREQ_APPROVAL');
560: wf_engine.startprocess ('ARCMREQ', l_request_id);
561: WF_ENGINE.threshold :=l_threshold;
562: END;
555: ELSE
556: BEGIN
557: l_threshold := WF_ENGINE.threshold;
558: WF_ENGINE.threshold :=50;
559: wf_engine.createprocess('ARCMREQ', l_request_id, 'CMREQ_APPROVAL');
560: wf_engine.startprocess ('ARCMREQ', l_request_id);
561: WF_ENGINE.threshold :=l_threshold;
562: END;
563: END IF;
556: BEGIN
557: l_threshold := WF_ENGINE.threshold;
558: WF_ENGINE.threshold :=50;
559: wf_engine.createprocess('ARCMREQ', l_request_id, 'CMREQ_APPROVAL');
560: wf_engine.startprocess ('ARCMREQ', l_request_id);
561: WF_ENGINE.threshold :=l_threshold;
562: END;
563: END IF;
564:
557: l_threshold := WF_ENGINE.threshold;
558: WF_ENGINE.threshold :=50;
559: wf_engine.createprocess('ARCMREQ', l_request_id, 'CMREQ_APPROVAL');
560: wf_engine.startprocess ('ARCMREQ', l_request_id);
561: WF_ENGINE.threshold :=l_threshold;
562: END;
563: END IF;
564:
565: END IF;