Professional Documents
Culture Documents
============================================================================
We all know the steps on How to check the status/stop/start Workflow Notification
Mailer from OAM( Oracle Application Manager)
It would show the status of all the workflow components. Here you can see the
status of the Workflow Notification mailer
Here I would be telling you about How to check the status/stop/start Workflow
Notification Mailer from Backend
select running_processes
from fnd_concurrent_queues
where concurrent_queue_name = 'WFMLRSVC';
select component_status
from fnd_svc_components
where component_id =
(select component_id
from fnd_svc_components
where component_name = 'Workflow Notification Mailer');
Possible values:
RUNNING
STARTING
STOPPED_ERROR
DEACTIVATED_USER
declare
p_retcode number;
p_errbuf varchar2(100);
m_mailerid fnd_svc_components.component_id%TYPE;
begin
select component_id
into m_mailerid
from fnd_svc_components
where component_name = 'Workflow Notification Mailer';
fnd_svc_component.stop_component(m_mailerid, p_retcode, p_errbuf);
commit;
end;
/
declare
p_retcode number;
p_errbuf varchar2(100);
m_mailerid fnd_svc_components.component_id%TYPE;
begin
select component_id
into m_mailerid
from fnd_svc_components
where component_name = 'Workflow Notification Mailer';
fnd_svc_component.start_component(m_mailerid, p_retcode, p_errbuf);
commit;
end;
/
The following query also returns the status of the workflow services:
The TARGET and ACTUAL columns should be 1. If one of these columns is 1 and the
other one zero then the workflow service is not running.