将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,如需转载请自行联系原作者


相关文章
|
4月前
|
存储 消息中间件 NoSQL
体育赛事直播系统中基于 WebSocket 实现的聊天室与弹幕模块设计与实践
本文详解东莞梦幻网络科技体育直播系统中「聊天室+弹幕」模块的实时通信技术实现,涵盖 WebSocket 架构、连接池管理、多房间逻辑、消息转发与并发控制等核心要点,助力构建高并发、低延迟的直播互动体验。
|
JavaScript
搭建Vue3组件库:第四章 使用Vitepress搭建文档网站
文档建设一般会是一个静态网站的形式 ,这次采用 Vitepress 完成文档建设工作。 Vitepress 是一款基于Vite 的静态站点生成工具。开发的初衷就是为了建设 Vue 的文档。Vitepress 的方便之处在于,可以使用流行的 Markdown 语法进行编写,也可以直接运行 Vue 的代码。也就是说,它能很方便地完成展示组件 Demo 的任务。
2073 0
搭建Vue3组件库:第四章 使用Vitepress搭建文档网站
|
4月前
|
机器学习/深度学习 搜索推荐 API
京东拍立淘API-以图搜图中的图像搜索算法
京东拍立淘API基于深度学习,利用CNN提取图像特征,结合余弦相似度实现商品精准匹配。支持图片搜索、类目限定与相似度筛选,日均处理千万级请求,广泛应用于移动购物与社交带货场景。
|
7月前
|
人工智能 IDE 搜索推荐
惊!GitHub Copilot或将颠覆传统编程,程序员即将失业?
GitHub Copilot引爆编程界!这个AI编程神器将彻底改变你的编程生涯!
350 22
惊!GitHub Copilot或将颠覆传统编程,程序员即将失业?
|
机器学习/深度学习 人工智能 算法
软件测试中的人工智能:现状与未来
本文探讨了人工智能在软件测试中的应用,包括自动化测试、缺陷预测、测试用例生成等方面。通过分析当前AI技术的优势和不足,提出了未来可能的发展方向,为软件测试领域提供了新的思路和方法。
598 4
|
消息中间件 Kafka Linux
安装Kafka3.0
消息队列是当前分布式系统中不可或缺的一部分了,今天先简单学习一下安装吧。
527 0
|
安全 网络协议 网络安全
2023年全国职业院校技能大赛信息安全管理与评估-理论题答案
2023年全国职业院校技能大赛信息安全管理与评估-理论题答案
|
新零售 分布式计算 数据可视化
数据分享|基于Python、Hadoop零售交易数据的Spark数据处理与Echarts可视化分析
数据分享|基于Python、Hadoop零售交易数据的Spark数据处理与Echarts可视化分析
|
Android开发 异构计算
Android图形显示系统——下层显示4:图层合成上(合成原理与3D合成)
Android显示之图层合成 要点 1.图层合成指综合各个窗口的绘制内容,送往LCD显示的过程。从原理上可分为在线合成与离线合成两种方式。 2.在Android的SurfaceFlinger代码流程中,图层合成方式分3D合成(OpenGL)和硬件合成两大类。 3.图形系统采用垂直同步Vsync机制,由LCD上报vsync,触发图层合成。 图层合成的原理
6337 0
|
Web App开发 JavaScript 开发者
layui图标出现方框问题解决
layui图标出现方框问题解决
1146 0
layui图标出现方框问题解决