Professional Documents
Culture Documents
Below are some of the useful workflow script that we use frequently in our 11i/R12
instances
Update if required
exec FND_PREFERENCE.put('&USERNAME', 'WF', 'MAILTYPE', 'MAILHTML');
OR
update fnd_user_preferences
set preference_value='MAILHTML'
where preference_name='MAILTYPE'
and module_name='WF'
and user_name ='&USERNAME';
if ok then logout :
1 logout
Example:
sqlplus apps/apps@db @$FND_TOP/patch/115/sql/wfntfqup.sql apps apps applsys
VERIFY
set lines 132
col PREFERENCE_VALUE format a45
select preference_value,count(*) from fnd_user_preferences where
preference_name='MAILTYPE' group by preference_value;
This step will also make sure that email do not reach users.
For Information purpose, below are the steps/events for Oracle Workflow
Notification Outbound Processing ( email from Oracle Applications Workflow
to Users)
6.1 convert XML representation of notification into MIME encoded message (Multi-
purpose Internet Mail Extensions) and
6.2 Send message by SMTP (Simple Mail Transfer Protocol) to intended user (If
Test Address/Override Address is set then email is sent to Test Address