日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

将EBS设为首页worklist删除误报

發布時間:2023/12/9 编程问答 31 豆豆
生活随笔 收集整理的這篇文章主要介紹了 将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,如需轉載請自行聯系原作者


總結

以上是生活随笔為你收集整理的将EBS设为首页worklist删除误报的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。