Create Ad Hoc Role
492910May 7 2007 — edited May 7 2007Hi,
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!