今年4月份,有员工反映想看PR的notification的历史信息,但找不到,经过查看系统,发现Purge Obsolete Workflow Runtime Data的时间参数设置得太短,在此记录一下。
Purge Obsolete Workflow Runtime Data:清除workflow的过时数据(建议清楚天数设置为60天)
查看该程序的设置参数用以下代码
SELECT p.concurrent_program_id, p.USER_CONCURRENT_PROGRAM_NAME "NAME",
c.CONCURRENT_PROGRAM_NAME "INTERNAL",
f.END_USER_COLUMN_NAME "PARAMETER",
f.ENABLED_FLAG "ON_OFF",
f.DEFAULT_VALUE,
f.REQUIRED_FLAG, f.DESCRIPTION
FROM FND_DESCR_FLEX_COL_USAGE_VL f, FND_CONCURRENT_PROGRAMS_TL p, fnd_concurrent_programs c
WHERE substr(f.DESCRIPTIVE_FLEXFIELD_NAME,7,8)=c.CONCURRENT_PROGRAM_NAME
and c.CONCURRENT_PROGRAM_ID = p.CONCURRENT_PROGRAM_ID
--and p.USER_CONCURRENT_PROGRAM_NAME LIKE '%Workflow%'
and (f.DESCRIPTIVE_FLEXFIELD_NAME like '$SRS$.FNDWFPR%')
AND p.LANGUAGE = 'US'
order by f.DESCRIPTIVE_FLEXFIELD_NAME, f.COLUMN_SEQ_NUM;