WF_NOTIFICATIONS表中的MAIL_STATUS



Troubleshooting Workflow Notification Mailer IssuesFind Workflow Notification Mailer is up and Running?
SELECT component_name, component_statusFROM fnd_svc_componentsWHERE component_type = 'WF_MAILER';
Workflow logs: FNDCPGSC*.txt under $APPLCSF/$APPLOG directoryFind the Failed Ones?
Select NOTIFICATION_ID, MESSAGE_TYPE, MESSAGE_NAME, STATUS, MAIL_STATUS, FROM_USER, TO_USER from wf_notifications where MAIL_STATUS='FAILED';
Check pending e-mail notification that was pending for process.
Sql> SELECT COUNT(*), message_name FROM wf_notificationsWHERE STATUS='OPEN'AND mail_status = 'MAIL'GROUP BY message_name;
Sql> SELECT * FROM wf_notificationsWHERE STATUS='OPEN'AND mail_status = 'SENT'ORDER BY begin_date DESC
Check the Workflow notification has been sent or not?
select mail_status, status from wf_notifications where notification_id=<notification_id>
--If mail_status is MAIL, it means the email delivery is pending for workflow mailer to send the notification
--If mail_status is SENT, its means mailer has sent email
--If mail_status is Null & status is OPEN, its means that no need to send emailas notification preference of user is "Don't send email"
--Notification preference of user can be set by user by logging in application +click on preference + the notification preference
1. Verify whether the message is processed in WF_DEFERRED queue
select * from applsys.aq$wf_deferred a where a.user_data.getEventKey()= '<nid>'<nid> - notification id
2. If the message is processed successfully message will be enqueued to WF_NOTIFICATION_OUT queue, if it errored out it will be enqueued to WF_ERROR queue
select wf.user_data.event_name Event_Name, wf.user_data.event_key Event_Key,wf.user_data.error_stack Error_Stack, wf.user_data.error_message Error_Msgfrom wf_error wf where wf.user_data.event_key = '<nid'>To check what all mails have went and which all failed ?
Select from_user,to_user,notification_id, status, mail_status, begin_datefrom WF_NOTIFICATIONS where status = 'OPEN';
Select from_user, to_user, notification_id, status, mail_status,begin_date,USER_ KEY,ITEM_KEY,MESSAGE_TYPE,MESSAGE_NAME begin_datefrom WF_NOTIFICATIONS where status = 'OPEN';


Users complain that notifications are stuck ?
Use the following query to check to see whatever the users are saying is correct
SQL> select message_type, count(1) from wf_notificationswhere status='OPEN' and mail_status='MAIL' group by message_type;
E.g o/p of query -
MESSAGE_Type COUNT(1)
-------- ----------
POAPPRV 11 --- 11 mails of Po Approval not sent --
-
INVTROAP 12
REQAPPRV 9
WFERROR 45 --- 45 mails have error
If Mail not received by User ?
select Name,DISPLAY_NAME,EMAIL_ADDRESS,NOTIFICATION_PREFERENCE,STATUSfrom wf_users where DISPLAY_NAME=xxx,yyy;
StatusActive
Notification_preference-> Mailtext
Email Address should not be null
Notification not sent waiting to be mailed ?
SQL> select notification_id, status, mail_status, begin_date from WF_NOTIFICATIONSwhere status =OPENand mail_status =MAIL;
To debug the notification id ?
$FND_TOP/sqlrun wfmlrdbg.sql
Change Mail Preferences for all Application Users (FND USERS)How to mass change Mail Preferences for FND USERS [ID 451929.1]
Solution :Using sqlplus as the apps user:
1st Method:
1.update wf_local_rolesset notification_preference = 'MAILHTML'
where user_flag='Y'
2.update fnd_user_preferencesset preference_value = 'MAILHTML'where module_name = 'WF'and preference_name = 'MAILTYPE'
commit;
2nd method:
Navigation: Connect to Applications as Sysadmin user and select responsibility
Workflow Administrator Web Applications --> Administration --> Global Preferences

Tablespace Usage/Free
TEMP Usage per session ?
SELECT S.sid || ',' || S.serial# sid_serial, S.username, S.osuser, P.spid, S.module,S.program, SUM (T.blocks) * TBS.block_size / 1024 / 1024 mb_used, T.tablespace,COUNT(*) sort_opsFROM v$sort_usage T, v$session S, dba_tablespaces TBS, v$process PWHERE T.session_addr = S.saddrAND S.paddr = P.addrAND T.tablespace = TBS.tablespace_nameGROUP BY S.sid, S.serial#, S.username, S.osuser, P.spid, S.module,S.program, TBS.block_size, T.tablespaceORDER BY sid_serial;
Temp Space used/free?
select tablespace_name, bytes_used/1024/1024, bytes_free/1024/1024 from v$temp_space_header;
Users Using Temp tablespace?
select b.tablespace, (b.blocks*p.value)/1024/1024 , a.sid, a.username from sys.v _$session a, sys.v_$sort_usage b, sys.v_$parameter pwhere p.name=b.session_addr;
To get which user is using temp tablespace ?
select username,tablespace,extents from v$sort_usage;
Free and Used Space in Temp Tablespace ?
SELECT A.tablespace_name tablespace, D.mb_total,SUM (A.used_blocks * D.block_size) / 1024 / 1024 mb_used,

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
### 回答1: flutter_local_notifications是一个Flutter插件,用于在移动设备上显示本地通知。它可以帮助开发者在应用程序中实现各种通知功能,例如提醒用户进行某项操作、通知用户有新消息或提醒用户完成某项任务等。该插件支持Android和iOS平台,并提供了丰富的API和配置选项,使开发者可以轻松地创建和管理本地通知。 ### 回答2: flutter_local_notifications 是一个 Flutter 插件,用于在本地进行通知的创建、显示和调度。此插件可让开发人员在应用程序内部创建和安排本地通知,通常用于为应用程序用户提供有关后台事件的提示。 此插件允许开发人员创建三种类型的通知:基本通知、计划通知和重复通知。基本通知是简单的通知消息,可包括标题、正文和指向应用程序的图标。计划通知是在特定的日期和时间向用户发出的通知,例如生日提醒、节日提醒、会议提醒等。重复通知是在特定间隔时间后重复出现的通知,例如每天定时提醒用户进行运动或吃药。 此插件使用 Android 和 iOS 平台的本地通知功能来实现本地通知。它提供了许多选项,例如可自定义通知的图标、声音和振动模式;可自定义通知的优先级和颜色,并具有特定到最小粒度(秒)的计划通知;还可以让开发人员在应用程序未运行时携带数据传递通知。 最后,flutter_local_notifications 插件是一个非常有用的 Flutter 插件,允许开发人员创建和安排本地通知,看起来与设备上的其余通知一样。此插件使用简单、功能强大,可帮助开发人员为应用程序用户提供更好的用户体验。 ### 回答3: Flutter是一种非常流行的移动应用程序开发框架。Flutter_local_notifications是Flutter中的一个插件,它提供了本地通知的功能,可以在用户离开应用的情况下向用户发送通知。 Flutter_local_notifications可以在Android和iOS上使用,并且它提供了更在深度的配置和灵活性,以满足用户的需求。它可以在应用程序的后台执行,并且它可以在用户设备的通知栏,锁屏上提醒用户。 Flutter_local_notifications使用简单易懂,只需要几行代码就可以实现。它可以用于多种类型的应用程序,如电商应用中的订单提醒,健康应用程序中的饮食计划,社交应用程序中的新消息提醒等等。 除了提供基本的通知配置,Flutter_local_notifications还可以自定义通知的图标,声音和振动等,从而让每个通知都更加个性化。此外,Flutter_local_notifications还提供了许多其他的功能,如定时通知,本地存储通知,红点提醒等等。 总之,Flutter_local_notifications是一种非常有用的Flutter插件,它可以为许多不同类型的应用程序提供强大的功能和定制化能力。如果你正在开发一个需要本地通知功能的应用程序,那么Flutter_local_notifications是一个非常不错的选择。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值