• 11i


    (文档 ID 578574.1)

    In this Document

      Goal
      Solution
      Workflow Information Center, Diagnostics, & Community
      References

    APPLIES TO:

    Oracle Workflow Cartridge - Version 11.5.9 to 12.2 [Release 11.5 to 12.2]
    Information in this document applies to any platform.
    Checked for relevance on 06-JUL-2013

    GOAL

    The goal of that Note is to explain how to bulk update the Email Style preference for all E-Business Suite users at once. The same can be used to update the Email Style for a group of users only, for instance the users who have the preference set to "Disabled" ...

    Usually, each user must reset the Email Style preference through the "Preferences" page available from his Home Page.





    SOLUTION

    1. Unfortunately, currently there is no seeded way to do this.  An enhancement request has been logged for this under internal Bug 5748131 (NEED PLEASANT WAY TO BULK RESET NOTIFICATION PREFERENCE FROM DISABLED).
    It is under Oracle Development's review.


    2. Currently, the only workaround to change the Email Style of all users is to update the tables.
    Note that there are 2 tables to update : FND_USER_PREFERENCES and WF_LOCAL_ROLES.

    One should backup the tables before performing the updates as updating application tables from sqlplus is not supported.


    3. Updates for All Users would look like:

    a.

    update wf_local_roles 
    set notification_preference='<wished_preference>' 
    where orig_system in ('FND_USR','PER');

    b.

    update fnd_user_preferences 
    set preference_value='<wished_preference>' 
    where preference_name='MAILTYPE' 
    and module_name='WF' 
    and user_name <> '-WF_DEFAULT-'; 

    4. Updates for Users having the preference set to "Disabled" would look like:


    a.

    update wf_local_roles
    set notification_preference='<wished_preference>'
    where orig_system in ('FND_USR','PER')
    and name in
    (select user_name
    from fnd_user_preferences
    where preference_name='MAILTYPE'
    and module_name='WF'
    and preference_value='DISABLED');



    b.

    update fnd_user_preferences
    set preference_value='<wished_preference>'
    where preference_name='MAILTYPE'
    and module_name='WF'
    and preference_value='DISABLED';

    The where clauses of above SQL can be modified to match ones needs.


    Possible values for <wished_preference> are:

    QUERY (corresponds to preference value "Do not send me mail") 
    MAILTEXT (corresponds to preference value "Plain text mail") 
    MAILATTH (corresponds to preference value "Plain text mail with HTML attachments") 
    MAILHTML (corresponds to preference value "HTML mail with attachments") 
    MAILHTM2 (corresponds to preference value "HTML mail") 
    SUMMARY (corresponds to preference value "Plain text summary mail") 
    SUMHTML (corresponds to preference value "HTML summary mail") 
    DISABLED (corresponds to preference value "Disabled")

    Workflow Information Center, Diagnostics, & Community

    • Please reference the Workflow Product Information Center Document for Top Workflow Resources: Document 1320509.1
    • For additional help, please refer to one of the following documents on diagnostics to address current needs. Providing diagnostic output on an issue for support when logging a service request is very helpful.

      Document 179661.1 for 11i or Document 421245.1 for Rel 12.x
    • Visit the Core Workflow community for help with industry experts or to share knowledge.

    • Please see Document 1186338.1 for recorded Workflow Webcasts.
  • 相关阅读:
    Docker——搭建SFTP
    PicGo——利用PicGo和GitHub搭建免费图床提供给Typecho使用
    GitHub——如何生成Personal access tokens
    leetcode——两数相加【二】
    每天一道面试题——请实现add(1,2)(3)【二】
    leetcode——两数之和【一】
    每天一道面试题——JavaScript的this指向【一】
    PHP——安装ThinkPHP框架报错
    项目代码 if/else 过多,引起程序猿口吐莲花
    JDK9-JDK14 相关新特性说明及使用
  • 原文地址:https://www.cnblogs.com/huak/p/4158004.html
Copyright © 2020-2023  润新知