Oracle Fusion, Oracle E-Business Suite

Tips, Tricks, Articles about Oracle E-Business Suite,Oracle Fusion, Oracle 11i, Oracle PL/Sql, Workflow, Order-to-Cash, Procurement-to-Pay, CRM, SOA, BPEL, WSDL, XML, OAF

Posts Tagged ‘WF Role’

Creating Adhoc Workflow Role

Posted by Senthilkumar on July 20, 2011

Here is an script to creating Workflow Adhoc Role:

——————————————————————————————————–

DECLARE

 

l_sshrcorp_email  VARCHAR2(100);

l_role_name       VARCHAR2(100);

l_sshrcorp_list   VARCHAR2(240);

 

BEGIN

 

  l_sshrcorp_email := ’email@company.com’;

  l_sshrcorp_list  := ‘HRADMIN’;

  l_role_name := ‘SSHRCORPIT’ ;

 

      WF_DIRECTORY.CreateAdHocRole(l_role_name,

                                   l_role_name,

                                   null,

                                   null,

                                   null,

                                   ‘MAILHTML’, 

                                   l_sshrcorp_list,

                                   l_sshrcorp_email,

                                   null,

                                   ‘ACTIVE’,

                                   sysdate+1825); —–> will be valid for 5 years

 

END;

——————————————————————————————————–

 

Thansks,

Senthil

 

 

Posted in AOL, Oracle Workflow | Tagged: , , | Leave a Comment »