Suppressing email notification from workflow

To stop mails from going to Roles, the following needs to be done.

This will send notification in the worklist but not send email notifications.

wf_directory.createadhocrole(
role_name => l_role,
role_display_name => l_role,
role_description => l_role,
notification_preference => ‘MAILHTML’, /* pass NULL for this*/
— email_address => l_email,
status => ‘ACTIVE’,
expiration_date => NULL
);

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s