2889: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
2890: return;
2891: END IF;
2892: END IF;
2893: l_notif_id := WF_NOTIFICATION.Send
2894: ( role => l_role_name
2895: , msg_type => p_item_type
2896: , msg_name => p_message_name
2897: );
2894: ( role => l_role_name
2895: , msg_type => p_item_type
2896: , msg_name => p_message_name
2897: );
2898: WF_NOTIFICATION.SetAttrText( l_notif_id
2899: , 'GEN_MSG_SUBJECT'
2900: , p_subject
2901: );
2902: WF_NOTIFICATION.SetAttrText( l_notif_id
2898: WF_NOTIFICATION.SetAttrText( l_notif_id
2899: , 'GEN_MSG_SUBJECT'
2900: , p_subject
2901: );
2902: WF_NOTIFICATION.SetAttrText( l_notif_id
2903: , 'GEN_MSG_BODY'
2904: , p_body
2905: );
2906: WF_NOTIFICATION.SetAttrText( l_notif_id
2902: WF_NOTIFICATION.SetAttrText( l_notif_id
2903: , 'GEN_MSG_BODY'
2904: , p_body
2905: );
2906: WF_NOTIFICATION.SetAttrText( l_notif_id
2907: , 'GEN_MSG_SEND_TO'
2908: , l_role_name
2909: );
2910: WF_NOTIFICATION.Denormalize_Notification(l_notif_id);
2906: WF_NOTIFICATION.SetAttrText( l_notif_id
2907: , 'GEN_MSG_SEND_TO'
2908: , l_role_name
2909: );
2910: WF_NOTIFICATION.Denormalize_Notification(l_notif_id);
2911: x_notif_id := l_notif_id;
2912: END send_wf_standalone_message;
2913:
2914: --======================================================================