556: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
557: return;
558: END IF;
559: END IF;
560: l_notif_id := WF_NOTIFICATION.Send
561: ( role => l_role_name
562: , msg_type => p_item_type
563: , msg_name => p_message_name
564: );
561: ( role => l_role_name
562: , msg_type => p_item_type
563: , msg_name => p_message_name
564: );
565: WF_NOTIFICATION.SetAttrText( l_notif_id
566: , 'GEN_MSG_SUBJECT'
567: , p_subject
568: );
569: WF_NOTIFICATION.SetAttrText( l_notif_id
565: WF_NOTIFICATION.SetAttrText( l_notif_id
566: , 'GEN_MSG_SUBJECT'
567: , p_subject
568: );
569: WF_NOTIFICATION.SetAttrText( l_notif_id
570: , 'GEN_MSG_BODY'
571: , p_body
572: );
573: WF_NOTIFICATION.SetAttrText( l_notif_id
569: WF_NOTIFICATION.SetAttrText( l_notif_id
570: , 'GEN_MSG_BODY'
571: , p_body
572: );
573: WF_NOTIFICATION.SetAttrText( l_notif_id
574: , 'GEN_MSG_SEND_TO'
575: , l_role_name
576: );
577: WF_NOTIFICATION.Denormalize_Notification(l_notif_id);
573: WF_NOTIFICATION.SetAttrText( l_notif_id
574: , 'GEN_MSG_SEND_TO'
575: , l_role_name
576: );
577: WF_NOTIFICATION.Denormalize_Notification(l_notif_id);
578: x_notif_id := l_notif_id;
579: END send_wf_standalone_message;
580:
581: