WFNTF_ROLE : 3205: ' user1 , user2 ' is not a valid role or user name

Hi
I have a workflow, in which I pass the names of performers(people who should receive notification) at run time through an Item Attribute.
I have created Ad-hoc role using wf_directory.CreateAdHocRole and assigned users to this role using wf_directory.AddUsersToAdHocRole.
wf_directory.CreateAdHocRole( role_name => v_role_name
,role_display_name => v_role_display_name
,language => NULL
,territory => NULL
,role_description => 'ROLE DESC'
,notification_preference => 'MAILTEXT'
,role_users => v_Recipients -- Comma or space delimited list
,email_address => null
,fax => null
,status => 'ACTIVE'
,expiration_date => null
,parent_orig_system => null
,parent_orig_system_id => null
,owner_tag => null
wf_directory.AddUsersToAdHocRole(role_name => v_role_name,
role_users => v_Recipients);
The v_Recipients is an item attribute ( Recipients) got using wf_engine.getitemattrtext. The performer for workflow is also specified as the item attribute Recipients.
Now, my workflow runs fine when notification is being sent to one user.
But, when I try to send it to 2 or more users (seperated by space or comma), I hit the error:-
Failed Activity NOTIFICATION
Activity Type Notice
Error Name WFNTF_ROLE
Error Message 3205: '<user1>,<user2>' is not a valid role or user name.
Please note that I have also run "Synchronize WF LOCAL tables" Concurrent program. But, that also does not help.
What am I missing?
Thanks
Ajay K. Garg

Hi Matt
Appreciate your patience.
I am almost there, but not there yet. :(
I made the following changes:-
1. Created a new item attribute of type role called 'RECIPIENT_ROLE'.
2. The performer for the notification is set as Item Attribute RECIPIENT_ROLE.
3. In the code:-
a) v_Recipients := wf_engine.getitemattrtext(itemtype => p_item_type,
itemkey => p_item_key,
aname => 'RECIPIENTS'
b) wf_directory.CreateAdHocRole( role_name => v_role_name
,role_display_name => v_role_display_name
,language => NULL
,territory => NULL
,role_description => 'ROLE DESC'
,notification_preference => 'MAILTEXT'
,role_users => v_Recipients
,email_address => null
,fax => null
,status => 'ACTIVE'
,expiration_date => null
,parent_orig_system => null
,parent_orig_system_id => null
,owner_tag => null
c) wf_engine.setitemattrtext(itemtype => p_item_type,
itemkey => p_item_key,
aname => 'RECIPIENT_ROLE',
avalue => v_role_name
Pl. note that v_role_name and v_role_display_name values are being set in the code before call to wf_directory.CreateAdHocRole.
I am hitting the error:-
Failed Activity NOTIFICATION
Activity Type Notice
Error Name WFENG_NOTIFICATION_PERFORMER
Error Message 3120: Activity 'DISTLIST/188309' has no performer.
Error Stack Wf_Engine_Util.Notification_Send(DISTLIST, 1965, 188309, DISTLIST:DIST_LIST_NOTIFCATION_MSG) Wf_Engine_Util.Notification(DISTLIST, 1965, 188309, RUN)
At run time, I am passing the parameter RECIPIENTS as name of one apps user ( to whom I want to send notification), and not passing anything to RECIPIENT_ROLE.
What mistake am I making?
Thanks
Ajay K. Garg

Similar Messages

  • Error Message = 3205: '~WF_ADHOC-1446' is not a valid role or user name

    Hi,
    I have an Item attribute of type 'Role' ('CREDIT_COMMITTEE_MEMBERS') and I am using that attribute as performer for two notification activities.
    For first notification, I create an adhoc role and assign it to the attribute and the notification goes successfully.
    I want to send reminder to the people who have not responded to the first notification.
    So I used the following query:
    SELECT recipient_role
    FROM wf_notifications
    WHERE (message_name = 'MSG_TO_CREDIT_COMM_NEED_APPR' or message_name = 'MSG_REMINDER_CREDIT_COMM')
    AND item_key = itemkey
    AND status = 'OPEN';
    The following code was used to update the Item attribute of type "Role"
    FOR rec_cc_role_names IN cur_cc_role_names
    LOOP
    IF l_role_count = 0 THEN
    l_role_users := rec_cc_role_names.recipient_role;
    ELSE
    l_role_users := l_role_users || ' ' || rec_cc_role_names.recipient_role;
    END IF;
    l_role_count := l_role_count + 1;
    END LOOP;
    wf_directory.createadhocrole
    ( role_name => l_role_name,
    role_display_name => l_role_display_name,
    notification_preference => 'MAILTEXT',
    role_users => l_role_users,
    expiration_date => NULL);
    wf_engine.setitemattrtext
    ( itemtype => 'XXCCVOTP',
    itemkey => itemkey,
    aname => 'CREDIT_COMMITTEE_MEMBERS',
    avalue => l_role_name);
    The second notification activity is throwing the below error
    Error Name = WFNTF_ROLE
    Error Message = 3205: '~WF_ADHOC-1446' is not a valid role or user name.
    Error Stack =
    Wf_Notification.SendGroup(~WF_ADHOC-1446, XXCCVOTP,
    MSG_REMINDER_CREDIT_COMM, 07-APR-10, WF_ENGINE.CB)
    Wf_Engine_Util.Notification_Send(XXCCVOTP, 154009, 186344,
    XXCCVOTP:MSG_REMINDER_CREDIT_COMM)
    Wf_Engine_Util.Notification(XXCCVOTP, 154009, 186344, RUN)
    Kindly help.
    Thanks,
    Amit

    The users list was null for the role, which was causing the error. The query populating the user list was not returning any row.

  • Sales Agreement workflow errored on 3205: is not a valid role or user name.

    Hi experts,
    We're currently on EBS R12.1.2 We're running into an issue that seems like a very general issue that other businesses would have encountered before. We have a business user who creates most of sales agreements. When this business user left the company, we set active end date on the particular userid. Now, when we go into these sales agreements originally created by this particular userid, and put in the expiration date to expire these sales agreement. We're seeing the sales agreement workflow erroring out in the pre-notification workflow email with error 3205: is not a valid role or user name.
    It seems to be this is a very typical business scenario. If you have encountered this problem, please share how you resolved this issue within your oracle apps environment.
    Thank you in advance for your help,
    Jennifer

    Hello,
    We have the same problem in 11.5.10.2. If we want use this blanket sales agreement I have to skipped this notification by sysadmin and after this I can extend end date and another user can use this BSA.
    Look at Extend The Expiration Date For Closed Non-Active Expired BSA Blanket Sales Agreement [ID 1394888.1]     
    Regards,
    Luko

  • WFNTF_ROLE 3205 Not a valid role or user name ...

    I have been assigned the job of cleaning up the SYSADMIN notification queue and need some help. I have a role that does not have a user assigned. The role name / display name is :
    FND_RESP1:50195 / OAM Read Only Mode:Any security group
    I am guessing I need a user assigned to this role or need to add an email address to the role. Looking for some advice as to what and how to do it.
    Thanks in advance!
    Dave

    Hi,
    DECLARE
      l_display_name      WF_ROLES.display_name%TYPE;
      l_email_address     WF_ROLES.email_address%TYPE;
      l_notification_pref WF_ROLES.notification_preference%TYPE;
      l_language          WF_ROLES.language%TYPE;
      l_territory         WF_ROLES.territory%TYPE;
      l_module            VARCHAR2(100);
      l_role              WF_ROLES.name%TYPE := '&role';
    BEGIN
      WF_DIRECTORY.getRoleInfo ( role                    => l_role
                               , display_name            => l_display_name
                               , email_address           => l_email_address
                               , notification_preference => l_notification_pref
                               , language                => l_language
                               , territory               => l_territory );
      IF l_display_name IS NULL THEN
        dbms_output.put_line('Role is invalid');
      ELSE
        dbms_output.put_line('Role is valid');
      END IF;
    END;
    /That'll tell you whether the role is valid or not.
    HTH (Hope that helps)
    Matt
    -----

  • "This message may not have been delivered to User Name because there was no response from the server." in IM chat

    Hello All, 
    Sometime users are getting below error message on the IM windows when they having P2P IM Chat. 
    "This message may not have been delivered to User Name because there
    was no response from the server."
    I can see below error on the Lync 2013 Monitoring page. 

    Hi,
    Please make sure all required ports have been allowed. You can verify that all ports are open can accepting connections using telnet.
    Telnet from External Client:
    Test to SIP.domain.com 443/SIP
    Test to WebConf.domain.com 443/PSOM
    Test to AV.domain.com 443/STUN
    Telnet from Lync 2013 Edge:
    Telnet to Pool.domain.com 5061/SIP
    Telnet from Lync 2013 Pool:
    Telnet to LyncEdge.domain.com 5061
    Telnet to LyncEdge.domain.com 443
    Telnet to LyncEdge.domain.com 5062
    Telnet to LyncEdge.domain.com 4443
    Telnet to LyncEdge.domain.com 8057
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • When I try to log into the app store to update apps or buy apps the user name that appears is an old one and it will not bring up the current user name/ email how do I stop that so that my current email show up ??

    When I try to log into the app store to update apps or buy apps the user name that appears is an old one and it will not bring up the current user name/ email how do I stop that so that my current email show up ??

    Settings>Store: Tap the AppleID and choose "Sign Out", it will then prompt you to sign in and you can use the new AppleID.
    NOTE: Apps must be updated with the AppleID they were purchased under.
    EE

  • I get the following error message when I try to receive e-mail in this hotmail account: "Configuration could not be verified – is the user name or password wron

    I have tried to add a hotmail account to Thunderbird because my Internet provider will stop e-mail support in the near future. I was able to add a hotmail account to Thunderbird, but I get the following error message when I try to receive e-mail in this hotmail account: "Configuration could not be verified – is the user name or password wrong?" (The hotmail website receives the e-mail.) User name and password is certainly correct. I have a 8.1 OS. Thank you.

    got an anti virus that thinks it should scan email. Turn that function off.
    Have a firewall, check that Thunderbird has full internet access, not some Auto rubbish that somehow fails.

  • Documents that are park in FBV0 do not update with the new user name when

    Hi,
         I need to find out why documents that are park in FBV0 do not update with the new user name when any changes are made.  Also when we park using MIR7 and make changes to the documents at a later time the document updates with the new users name.
    Requesting you to please suggest what could be the reason.
    Earliest reply will be highly appreciated,
    With regards,
    Rj

    Hi,
        I have checked this in system. I posted one Parked invoice using T.code FV60 and there i appeared my name because i created. But after some time one of my collegue changed the reference and text field with his login i.d. But still in the invoice it is showing as my name whereas if we go to the environmnet, there in the changes we can see what are the changes done and it is appearing my collegues user i.d. But in the main invoice it is still appearing my name.
    Regards,
    Rj.

  • PowerBook G4 boots to unfamiliar login. List of known user accounts does not appear and original admin user name and password is rejected. What is going on here?

    PowerBook G4 boots to unfamiliar login. List of known user accounts does not appear and original admin user name and password is rejected. What is going on here?

    There are no children, nor other suspicious characters that have "played" with my computer. One moment I'm in, the next time I turn on/restart the powerbook I'm at a screen with the name of the hard drive and two fields: username and password. Not a list with pictures and names ie 'Katie Jo' with an orange icon and 'Guest' with a silhouette of a head.
    In an attempt to remedy this problem, I backed up files using target disk mode and firewire cable. I then, rebooted in single user mode, typed in the correct script and essentially made the computer appear virgin again. Original start up welcome screen display with multiple languages, and then set up prompts such as language, network, and registration. After completing the cues and the "just a few more questions" page, I press continue and am left at a grey standstill, with the continue button greyed out, and no other actions. I'm only able to "go back" by clicking the go back button, all the way to the beginning of the set up, and as I proceed through the steps a second time, I'm greeted with the same halt. What is this?

  • Background job in APO does not start because of invalid user name

    Hello,
    I have a macro in a planning book and the /sapapo/cons_check program which a triggered via a background job. Now, I have problems with the start of the job:
    At the time the job was created inside SAP, an error occured. The job contains invalid values.
    The user name within the job does not exist any more.
    Now, I try to change the user name of the job (via step in sm37), but the error occured again.
    I have the possibility to create the invalid user name once again in su01.
    But I want to change the user name of the job - does somebody know how to do it?
    Thanks for your help!
    Kind regards
    Heinz

    Hello Heinz, this looks surprising.
    It's quite easy to change the user name in the SM37 job step, and we haven't faced issues with this.
    Could you check how many jobs are in either "scheduled" or in "released" status, and change steps for all of them? May be you changed the scheduled job, but the released job wasn't changed.
    Use your job name and give a search date as 1-2 years in the past, and around 1 month in the future. With this time horizon, you should most likely be able to capture all the relevant jobs having the same name that you are using.
    Now change the user name in step for all the jobs received above to be fully sure.
    One more trial could be to copy the current scheduled job to another job, modify the user name in this newly created job and then delete the old one.
    One of the above trials might possibly help you in some way, else its very tough to understand/explain your situation.
    Thanks - Pawan

  • Can not connect to MaxDB 'Unknown user name/password combination' returned

    Hi,
         I try to make a connection from NWDS 7.2 to MaxDB. So i use the url as 'jdbc:sapdb://127.0.0.1:7210/CE1' to make a connection (by wizard of data source explorer in NWDS).
    I try to entry username and password as below :
    User : 'Administrator' , Pass : 'admin123'
    User : 'SAPJ2EDB' , Pass : 'admin123'
    User : 'superdba' , Pass : 'admin123'
    User : 'control' , Pass : 'admin123'
    So i always got
    com.sap.dbtech.jdbc.exceptions.jdbc40.SQLInvalidAuthorizationSpecException: [-4008]: Unknown user name/password combination
    returned
       I quite sure that 'admin123' is the password for MaxDB because when i try to uninstall the MaxDB it ask me to input password for 'superdba' and 'control'
    How should i do? I remember that when i installed the SAP CE7.2 i had entered just only one password.
    How can i reset the username and password or use default password?
    P.S i try to enter user and pass from this post MAXDB Server,Database,Username and pasword , but it still not work .
    Edited by: Thongie on Jul 14, 2011 2:48 PM

    Hi every one,
        I can solve it. I just restart DB and try agian.

  • HT1222 Can not get mail . The user name or passwords is incorrect

    Can not get e-mail . It states that the user name is incorrect and pass-word is incorrect

    Did you check your settings and make sure that the information is correct?

  • HT2623 Can not get mail. Message, user name or password is incorrect

    I have not changed settings but have this message and I cannot receive my emails

    Did you check your settings and make sure that the information is correct?

  • When I sign into iTunes for updates, a secondary username appears and I need to enter a password. I am not familiar with the second user name. Any Suggestions?

    When I sign into iTunes for updates, a secondary username appers and I need to enter a password. I am not familiar with the second username. Any suggestions?

    Are you using iTunes on your iPad or the actual program on a Mac/PC?
    If you are using on your iPad check the ID being used by going to Settings>iTunes & App Store if the Apple ID displayed isn't yours tap it and select Sign Out then sign in with your own Apple ID.
    If you are referring to iTunes on a Mac/PC select the Store Menu and check the Account Name next to the View Account text, if this isn't you select the Sign Out option directly above it then Sign In with the relevant credentials.
    Regards,
    Steve

  • Search does not work correctly when including user name field

    I'm attempting to search for the word authenticator in my previous posts. I'm typing authenticator in the search box, my user ID (mthompson) in the username field, and selecting the appropriate datd range. There are no results found.
    That is wrong. When I click on the 'Your Control Panel' link, I very clearly see my previous posts containing that term.
    Why doesn't this work?

    The search functionality on these forums doesn't allow for a username to be entered, but it does allow for a User ID. this is the ID associated with your user when you hover over a link to your own user.
    In your case it's: 476329

Maybe you are looking for

  • Can't repair or remove Acrobat 9 Pro from a CS5 installation

    I have Acrobat 9 Pro installed with CS5 on a win7 desktop. I can't repair it or remove it with the "Add/Remove Program". The "Adobe Reader and Acrobat Cleaner Tool" says it should not be used with any CS installation. Is there any other way to remove

  • Changing defaults in Illustrator CS4

    Hey folks... this was easier in CS1 and previous, but I was curious as to how to change defaults in Illustrator CS4? For example, I've customized my brush library and want to replace whatever the default brush file is with my customized brush file (f

  • Digital DIN no working (inspire 5700)

    hi.... i have some problem here, when i use digital connnection (digital DIN) connect to my soundblaster audigy, and switch to digital output, but it no sound at all, i only able to use analog connection now. is that the decoder problem or my soundca

  • Can't remove "cash basis" payment terms

    I have created numerous payment terms and have no need for the "cash basis" terms that is part of default SAP.  However, when I try to remove the cash basis payment terms I get an error "cannot remove the payment terms selected".  I already made sure

  • Screensaver of my Dreams

    This is probably an unusual question. I have a very large collection of images on my computer that I use for creative inspiration; anything from great photography and art to personal photos and funny internet memes. I love watching them using the scr