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

将EBS设为首页worklist删除误报相关推荐

  1. 把百度网站设为首页_大仙SEO:如何解决网站首页百度收录后被删除?【SEO案例】...

    前天(5/20)看数据的时候,发现5118数据直线下降,跌的有些厉害,猜测网站应该出问题了.这个时候不要慌(内心实则慌的一批),在等等看,会不会是百度自身的一些调整.算了分析分析网站吧!site看网站 ...

  2. 关于如何设置收藏本站和设为首页

    这次光伏网站项目中设置收藏本站和设为首页由本人来做,这个功能在以后的项目中应该会常用到,所以这里我将其整理出来. 收藏本站 当需要收藏某一个网站时,可以使用如下函数: function AddFavo ...

  3. 删除计算机病毒怎么办,电脑软件客户端被误报病毒而删除了怎么办?

    我们有时候下载的软件,并没有病毒,但是杀毒软件也会误报病毒,甚至有的时候,会被杀毒软件误删了!像这种类似的情况,我们只需要把软件加入白名单或恢复被删除掉的软件即可!下面以360为例,演示一下如何恢复被 ...

  4. 很实用的 “设为首页”与“加入收藏”代码

    设置为首页的方法为: <a href=# onClick="this.style.behavior='url(#default#homepage)';this.setHomePage( ...

  5. 设为首页 收藏(IE可用)

    function SetHome(obj, vrl) {try {obj.style.behavior = 'url(#default#homepage)'; obj.setHomePage(vrl) ...

  6. 设为首页加入收藏代码

    设为首页代码 1.图片链接 <a style="cursor:hand" οnclick="this.style.behavior='url(#default#ho ...

  7. 设为首页及收藏本页代码 兼容IE和Firefox

    代码如下: 收藏本页:< a href ="#" onClick ="javascript:window.external.AddFavorite(document ...

  8. Javascript添加收藏夹和设为首页兼容写法

     添加收藏夹 <script> function addfavorite() { if (document.all) { window.external.addFavorite('http ...

  9. 使用JS 加入收藏,设为首页.

    <script type="text/javascript" language="javascript">function AddFavorite( ...

  10. 设为首页、加入收藏 兼容代码

    一般写法: <a href="javascript:window.external.AddFavorite(window.location.href,document.title)&q ...

最新文章

  1. HP c3000/c7000 blade switch GBE2c 初始配置
  2. 信息安全研究之数据安全专题
  3. 公司虚拟化平台VMware vCenter Server无法连接故障排查解决
  4. 第一章 编程基础知识
  5. Aizu 2170 Marked Ancestor
  6. Swift:用UICollectionView整一个瀑布流
  7. [NOI2018]冒泡排序
  8. [python、flask] - POST请求
  9. nodejs的mysql初始化
  10. ffmpeg 封面提取
  11. 人工智能TensorFlow工作笔记005---计算图的基本应用_认识计算图
  12. 图像处理R包magick学习笔记
  13. 计算机未来的发展英语作文,关于科技发展英语作文(通用10篇)
  14. group by 按某一时间段分组统计并查询
  15. 控制台报400、500内部服务器错误是什么原因?怎么解决?
  16. android照片视频备份,Android 保存图片或视频到相册并刷新相册
  17. web期末作业设计网页 HTML+CSS+JavaScript仿王者荣耀游戏新闻咨询(网页设计期末课程设计)...
  18. python源码大全-最全Python算法实现资源汇总!
  19. 计算机考研难度2017,2017大专生考研难度分析
  20. 【工作记录】配置高效科研工作软件

热门文章

  1. excel缩字间距_excel字体间距紧缩
  2. 网络机顶盒刷机linux,手机、网络机顶盒刷机recovery教程[整理].doc
  3. python抓取微博数据_技术入门 | python利用微博api获取数据
  4. EDI系统-AS2传输常见问题
  5. 第一、三、四届(2010、2012、2013)山东省ACM
  6. [360优化]让360安全卫士比火绒还好用 #调教360
  7. android theme.appcompat.light,Theme.AppCompat.Light的解决方法
  8. 谷歌云实现Google Drive无限空间离线下载(完美版)
  9. python数据结构之动态规划
  10. UI自动化之PO模式