Informatica workflow status SQL Query
SELECT WORKFLOW_NAME,
SERVER_NAME,
RUN_ERR_CODE,
RUN_ERR_MSG,
SUBJECT_AREA,
decode (RUN_STATUS_CODE,1 , 'Succeeded',
2,'Disabled',
3,'Failed',
4,'Stopped',
5,'Aborted',
6,'Running',
15,'Terminated') Status
from infa_metadata_schema.REP_WFLOW_RUN
where START_TIME>= sysdate-2 and END_TIME<=sysdate
order by SUBJECT_AREA,WORKFLOW_NAME,RUN_STATUS_CODE;
No comments:
Post a Comment