Role:- It a collection of multiple user. With the role we send notification multiple user at a same time.
Begin
wf_directory.CreateAdHocRole(role_name => 'USER_ROLE'
role_display_name => 'USER ROLE'
language => NULL
territory => NULL
role_description => 'Demo User Role'
notification_preference => 'MAILHTML'
role_users => 'NAME1 NAME2 .....' -- GIVE USER NAME SHOULD BE IN CAPS
email_address => NULL
fax => NULL
status => 'ACTIVE'
expiration_date => NULL
parent_orig_system => NULL
parent_orig_system_id => NULL
owner_tag => NULL
);
DBMS_OUTPUT.PUT_LINE('Role is Successfully Created');
End;
Assign that role in Performer in Notfication.
Thanks
Sajal
No comments:
Post a Comment