Following API can be used to create a oracle workflow role,
wf_directory.createrole
WF_DIRECTORY package has many APIs to carry out different workflow user/role related actions such as,
There are other APIs too in this package wf_directory such as,
createuser - for creating workflow user
createAdHocRole - to create adHoc role programmatically
This is specially useful when there is a requirement to send to an external email address like xyz@gmail.com. In such scenario, create a adHocRole and assign this email address and then use the role to send the workflow notification emails.
http://gopalmajithiya.blogspot.com/
ReplyDeleteJoin With me
ReplyDelete