将EBS设为首页worklist删除误报

简介:
参考:How To Remove Error Notifications From The Worklist (Doc ID 357904.1)

1. 1. Use one of the error notifications to get an item_type from the following select:


select message_type from wf_notifications where notification_id = <NID>;

select message_type from applsys.wf_notifications where notification_id=93885;
--WFERROR

2. Use the following script to abort all error workflows that has currently notifications with status OPEN:
Declare
         cursor c_item_keys is
         select act.item_type , act.item_key
              from wf_item_activity_statuses act
             ,wf_notifications n
             ,wf_items itm
             where act.notification_id = n.notification_id
             and act.item_type = itm.item_type
             and act.item_key = itm.item_key
             and itm.end_date is null
             and act.item_type = '<message_type>' -- value returned in step 1
             and act.activity_status in ('ERROR','NOTIFIED')
             and n.status = 'OPEN' 
             and act.assigned_user = 'SYSADMIN';

             counter number;  

  Begin
    counter := 1 ;
    for item in c_item_keys loop 
         wf_engine.abortprocess(item.item_type,item.item_key); 
         counter := counter + 1 ; 
         if counter > 1000 then 
                counter := 1 ;
                commit; 
         end if;
     end loop;
     commit;
End;

NOTE:
  - Replace the <message_type> by the message_type value returned in step 1.
  - This script will remove error notifications from sysadmin.  Replace sysadmin by the end user needed or comment the line to run the script for all end users.

3. Run the concurrent request:   "Purge Obsolete Workflow Runtime Data".
NOTE:
 - In some cases the error workflow may have a child workflow, for example, POERROR workflow may fail to send a notification to a certain user, so that it will generate a WFERROR notification to sysadmin.  In that case one has to run the script in step 2 first for WFERROR workflow.

An item_key is not required to run the Purge Obsolete Workflow Runtime Data request.  Running it without use of an item_key, all eligible data will be purged.

版权声明:本文博主原创文章,博客,未经同意不得转载。








本文转自mfrbuaa博客园博客,原文链接:http://www.cnblogs.com/mfrbuaa/p/4776713.html,如需转载请自行联系原作者


相关文章
蓝色主机删除临时页面教程
对于大多数新手站长而言,购买主机后,在使用的过程中或多或少会遇到一些技术上的问题,例如不知如何删除临时页面,关于此问题,接下来BueHost主机指南为大家详细介绍BueHost主机如何删除临时页面,具体操作步骤如下:
|
9月前
|
Android开发
个人热点蓝条出现和消失时,页面下压和恢复导致页面混乱及蓝条下压页面底部控件看不到的问题
个人热点蓝条出现和消失时,页面下压和恢复导致页面混乱及蓝条下压页面底部控件看不到的问题
73 0
|
搜索推荐
EBS 开启登录页面中的 个性化页(Personalization Page)
Set the values of following profiles to enable Personalization Page link in OAF Pages   Profile Name Value FND: Personalization ...
980 0
利用httpget实现计划任务访问某一指定页面
为了定期了访问某一页面而触发事件,之前做了一个vbs的文件, 'Create an instance of IEDim IESet IE = CreateObject("InternetExplorer.
778 0
|
9月前
|
安全 算法 数据管理
DMS问题之刷新删除还显示如何解决
DMS(Data Management Service)是阿里云提供的一站式数据管理服务,支持数据开发、维护、治理等多种功能;本合集着重于介绍DMS的功能特点、操作流程和最佳实践,帮助用户高效进行数据管理和维护。
123 11
|
9月前
|
缓存 数据管理 关系型数据库
数据管理DMS操作报错合集之DMS进行数据导入时遇到了无法识别新增加的实例而旧实例已过期但状态显示正常,如何解决
数据管理DMS(Data Management Service)是阿里云提供的数据库管理和运维服务,它支持多种数据库类型,包括RDS、PolarDB、MongoDB等。在使用DMS进行数据库操作时,可能会遇到各种报错情况。以下是一些常见的DMS操作报错及其可能的原因与解决措施的合集。

热门文章

最新文章