DBA Data[Home] [Help]

APPS.WF_RULE dependencies on WF_NOTIFICATION

Line 628: -- Get the WF_NOTIFICATION.SEND arguments

624: --rule function assuming maybe it has an event parameterlist set
625:
626: l_parameter_list:= p_event.getParameterList();
627:
628: -- Get the WF_NOTIFICATION.SEND arguments
629: pos := l_parameter_list.LAST;
630: while(pos is not null) loop
631: if (l_parameter_list(pos).getName() = 'RECIPIENT_ROLE') then
632: l_recipient_role := l_parameter_list(pos).getValue();

Line 650: l_nid:=wf_notification.send(

646: l_due_date := to_date(l_parameter_list(pos).getValue(),'DD-MM-YYYY HH24:MI:SS');
647: end if;
648: pos := l_parameter_list.PRIOR(pos);
649: end loop;
650: l_nid:=wf_notification.send(
651: ROLE => l_recipient_role,
652: MSG_TYPE => l_message_type,
653: MSG_NAME => l_message_name,
654: DUE_DATE => l_due_date,

Line 672: wf_notification.setAttrText ( NID=>l_nid ,

668: while(pos is not null) loop
669: if (l_parameter_list(pos).getName() NOT IN
670: ('RECIPIENT_ROLE','MESSAGE_TYPE','MESSAGE_NAME','CALLBACK',
671: 'CONTEXT','SEND_COMMENT','PRIORITY','DUE_DATE')) then
672: wf_notification.setAttrText ( NID=>l_nid ,
673: ANAME=>l_parameter_list(pos).getName(),
674: AVALUE=>l_parameter_list(pos).getValue());
675: end if;
676: pos := l_parameter_list.PRIOR(pos);

Line 682: wf_notification.denormalize_notification(l_nid);

678:
679: --Insert the notification id into the parameter list
680: p_event.Addparametertolist('#NID',l_nid);
681:
682: wf_notification.denormalize_notification(l_nid);
683: return 'SUCCESS';
684: exception
685: when others then
686: wf_core.context('Wf_Notification', 'Send_Rule', p_event.getEventName(),

Line 686: wf_core.context('Wf_Notification', 'Send_Rule', p_event.getEventName(),

682: wf_notification.denormalize_notification(l_nid);
683: return 'SUCCESS';
684: exception
685: when others then
686: wf_core.context('Wf_Notification', 'Send_Rule', p_event.getEventName(),
687: p_subscription_guid);
688: wf_event.setErrorInfo(p_event, 'ERROR');
689: return 'ERROR';
690: end;