Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Create Ad Hoc Role

492910May 7 2007 — edited May 7 2007
Hi,

I tried using the wf_directory createadhocrole api. When I try to run the workflow it gives me an error "is not a valid role or user name". I noticed in the error message it's calling Wf_Notification.SendGroup function. When I opened that function it's selecting from the WF_USER_ROLES table. My role is created under the WF_LOCAL_ROLES. What should i do...doesnt seem like my workflow program is looking at the local table =(

Also...
I have multiple users I need to send the notification to but the users will always change. Does that mean when I create a ad hoq role that and purge after every run? When I run my workflow how do I send notifications to multiple users when the users will always be different? Do i need to create a new role each time?

Please help! Thanks I appreciate it!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 4 2007
Added on May 7 2007
1 comment
1,185 views