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.

Similar Messages

  • 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

  • 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
    -----

  • When I try to open Firefox 4.0 I get an error message saying that it is not a valid Win32 Application. What do I do? I am using Windows XP Sp3

    I downloaded Firefox 4.o exe. When I tried to open it I got an error message stating that it was not a valid Win32 application. I am using windows XP SP3. How do I get it to open?

    [[Firefox is already running but is not responding]] has steps that you can try. It sounds like you may have something that is hanging your browser on exit (probably an extension or a locked profile) and the steps on that page should help clear it up.

  • I have uninstalled and re-downloaded firefox 3 times now and each time I get and error message saying that firefox is not a valid windows image? I download it from your website but to no availe

    This is the error message I get when I try and open Firefox:
    ''The application or DLL C:\Program Files\Mozilla Firefox\WSOCK32.dll is not a valid Windows image. Please check this against your installation diskette.''

    wsock32.dll is a Windows System file which is used to connect to the internet. if you are seeing this error message then its probably because either your Antivirus program might have moved this file to the Virus Chest or this file was Deleted mistakenly. Try Restoring this file from your Anti Virus software or check if it is still available in the Recycle Bin folder.
    If above suggestions don't work, see this:
    ''This error is a tough one as it severely limits the programs or apps that you can run in Windows. This error pops up every time you try to open a program in windows, well not every program but most. Most spyware programs can’t be ran because this error pops up and prevents it.''
    ''One would think that the solution would be to repair the invalid .dll, but what ended up fixing it for me was extracting a fresh copy of explorer.exe. It looks like explorer.exe had gotten corrupt for some reason and was causing the bad image errors with certain .dll s.''
    ''To repair the problem open up '''msconfig''', it is actually one of the few programs in windows that would still open. To open it click on Start -> Run ->Type in '''msconfig''' and hit Enter. Once it is open click on the button that says “Expand File”. From there you will select the file that needs replaced and the location of the good file. Most of the time the good file can be found in the i386 folder of your XP install cd. My msconfig didn’t like the directory “C:\Windows\System32\ that was already filled in, so browse to the Windows\system32 directory and it should work just fine.''
    ''Expand the file, it will look like nothing happened, that is normal. Reboot the computer and you should not get the errors anymore.''
    ''To be safe, I expanded the Wsock32.dll file as well, so if for some reason your error still persists try expanding the dll file too.''
    Taken from: http://www.advantage-pc.com/?p=692
    Check and tell if its working.

  • Itunes update to the latest version I get a error message that Itunes64.msi is not a valid installation package?

    I recently tried updating to the latest version of Itunes, never had a problem, after downloading the installer attempts the undate I get a dialog box telling me to  locate the installer package, I locate the download and I get a message:
    the file C: users\eric\appdata\apple\applesoftwareupdate\itunes64.msi is not a vaild insallation package for the product Itunes. Try to find the installation package "itunes64.msi" in a folder from which you can install itunes.
    I cant even install because I get the same message.  

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • My downloads of iTunes and related software onto my Windows PC fails every time with error message that the software does not have valid signature.  How to get around this problem?

    I have trouble downloading iTunes software and related software like the new ios8 on both my desktop--Windows 7, and my laptop--Windows Vista, because I keep getting error messages saying the software has been deleted because invalid signature.   I have tried download and install and I have tried just download, but neither method works.   So I am stuck with the older software and my new iPad 2 Air isn't connecting because I need ios8 apparently.
    I have an iPhone 5 and a new iPad 2 Air.
    How to get around the Windows problem, please?
    Thank you!

    bump

  • Error message in time machine: "There was a problem with the user name or the password of the network

    I have been unable to back up my macbook to my time capsule for some time now. I received the following error message (translated from Swedish) when trying to back up using time machine:
    "The network's volume could not be placed on the desktop. There was a problem with the user name or the password for the network.
    Open system preferences and go to Time Machine. Select the volume for security backup again and state the correct user name and password."
    I have confirmed the network password, and also tried with resetting the password. I have not idea what else to do. Any help is much appreciated.
    Best regards,
    John

    I have been unable to back up my macbook to my time capsule for some time now. I received the following error message (translated from Swedish) when trying to back up using time machine:
    "The network's volume could not be placed on the desktop. There was a problem with the user name or the password for the network.
    Open system preferences and go to Time Machine. Select the volume for security backup again and state the correct user name and password."
    I have confirmed the network password, and also tried with resetting the password. I have not idea what else to do. Any help is much appreciated.
    Best regards,
    John

  • Error message iTunes64 Setup.exe is not a valid Win32 application.

    I've tried a few times to update my laptop with latest version of iTunes, even have uninstalled older version, and I just keep getting this message.  What am I doing wrong?  How do I fix it?  I have Windows 7, 64-bit system. 
    I wouldn't have even tried to update, but when I plugged in my new iphone 4S to download my itunes librarby to it, i was prompted to get the most recent version.  Now I don't have anything.  HELP!

    Perhaps try downloading and saving a copy of the installer to a different (64-bit) PC. Copy the iTunes64Setup.exe installer to an external hard-drive, or a large-enough thumb drive or burn it to a CD-R. Carry the installer back to your PC, copy the installer to your hard drive. (Don't run the install from the ExHD, thumb or CD-R.) Start the install by doubleclicking the iTunes64Setup.exe file.
    Does that go through any better for you?

  • Error Message - iTunesSetup[1].exe is not a valid Win32 application

    I'm having difficulty synching my iPod Shuffle as I keep getting the referenced message. Can anyone help me out?

    I solved my problem. After reading all the posts about problems with 7.6 I decided to download 7.5 instead. All I wanted to do was download music so needed 7.2 or higher. I found this link: http://www.mydigitallife.info/2007/11/07/direct-download-itunes-75-to-activate-i phone-anywhere-internationally/
    and did the direct download. Now I'm downloading music no problem!

  • I am trying to open my iTunes on a Windows XP laptop and get the error message 42404 "iTunes application could not be opened.  Please repair or reinstall QuickTime".  I did that and it did not help.  Any ideas?

    I am trying to open my iTunes on a Windows XP laptop and get the error message 42404 "iTunes application could not be opened.  Please repair or reinstall QuickTime".  I did that and it did not help.  Any ideas?

    Let's see if a more rigorous uninstall/reinstall procedure gets us past that, nancy. See the following troubleshooting document:
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP

  • I have downloaded a movie from ITunes.  It shows up in my video app.  When I go to play it I get an error message: "The requested URL was not found on this server". When I checked back on iTunes, where you click to rent or buy a movie it says "Downloaded"

    I have downloaded a movie from ITunes.  It shows up in my video app.  When I go to play it I get an error message: "The requested URL was not found on this server". When I checked back on iTunes, where you click to rent or buy a movie it says "Downloaded".  Any advice on what I can do in order to watch this movie that I rented a couple of weeks ago?

    Select the content which is causing a problem and use the 'Report a problem' button in Your Purchase History on your computer.

  • I am trying to install Elements, I get this constant error message. This installation is not supported by this processor type. Contact your product vendor.

    I am trying to install Elements, I get this constant error message. This installation is not supported by this processor type. Contact your product vendor.
    I am using Windows 8.

    Hi,
    Which version of Photoshop Elements are you trying to install?
    Are you installing from DVD or a download?
    If DVD, make sure you are using the Windows one, not the MAC one.
    What device are you trying to install on?
    Does your system meet the required spec?
    Are you on Windows 8 or Windows 8.1?
    Brian

  • On some of my files there is a ! in front of it, if I try to play the song, I get an error message; "The song "_____" could not be used, because the original file could not be found. Would you like to locate it?" Then when I click "Locate", I get nothing.

    I'm really dumbfounded on this one and it's driving me bonkers!!!! On some of my music files there is a ! in front of it, if I try to play the song, I get an error message; "The song "_____" could not be used, because the original file could not be found. Would you like to locate it?"
    This began to happen when Chuck made playlists2burn on2CD-and then he would delete the playlist; sending all the song files into oblivion. Certain songs have a ! right next to the file name, and as I stated before, i get that error message:
    "The song "_____" could not be used, because the original file could not be found. Would you like to locate it?"
    So I click on "Locate". No help. I get a menu with folders that say "catroot" and other folders which names I cannot remember, but I scroll PAST the file folders, & it's just a bunch of ".DLL" files.....I don't understand what any of the names of the folders mean...it's frustr8ing-coz this is my 2nd iTouch, my 1st one got stolen & I can't afford2buy my music back at this time & i NEVER before had a single problem with losing song file locations.
                  Is there anyone out there who has been through this frustrating game of chasing your tail?....<that's how I feel>
    If so I would be ever so gr8ful if maybe someone with the knowledge would be so kind as 2 tell me how/where 2 retrieve these songs & how to put everything back where it belongs, I would be 4ever gr8ful !!!
    I can't afford 2 replace the songs just like I'm unable 2 buy back my old music from my stolen iTouch....man that was an awesome collection-someday I'll be able 2 afford 2 do that & I would like 2 have all the new music that I paid 4 but cannot find when I got my new iTouch....that would just be  wonderful.
                 I hope someone sees this post that can help me retrieve these files....losing $100.00 of iTunes is a REAL BUMMER!!!!!!
                                                      ThanQ SO very much!
                                                                             [email protected] or [email protected] or [email protected] .
                                                                                               You can also find me on Facebook, my given name is Tiffinie Trimmer, &
                                                                                                that's my Facebook "handle".    ThanQ 4 taking the time 2 read all of this!
                                                                                                hope 2 get a reply someday....I'll B checking all my emails & my Facebook, as well
                                                                                                as marking this page in my FAVORITES so I can find it fast! Take Care!!!

    I was not complete clear.
    Since you never changed the settings in the advanced section of iTunes preferecnes, you have to chech that your music is really in the location setted in the folders reported in the advanced section.  If not you have 2 ways: reset the position of this folders or in the actual disk organisation or in the pointing on the preferences.
    If you press the reset button you just give to itunes its default setting as for the position of the music files: probably this will be a good choice if you have never changed any default preference.
    But before I would check the folders and see if the songs are really there
    In my iTune I have this, and I believe it is the default.
    Users/YOURHOMEFOLDERNAME/Music/iTunes/iTunes Music

Maybe you are looking for

  • Ati radeon hd 4870 mac specifications

    I haven't been able to find detailed specifications for the ati radeon hd 4870 mac edition. The PC version specs show "accelerated transcoding and decoding for H.264 and Mpeg2". Is this on the Mac version? Is it accessed/useful when compressing video

  • Boot Camp Manager Must Close

    I am a Boot Camp Beta user with Windows XP. I upgraded to Leopard and installed the new drivers from the Leopard disc. Everything seemed fine, except for a pop-up window saying that new hardware had a problem and might not work correctly. But the Boo

  • Export Problem - Speed Changes

    This is incredibly frustrating. I'm working on a MBP (10.4.11) using FCP Studio 2, STP v 2.0.1 and I am having an issue during export. I have a multi track project with 3 tracks connected to one bus in STP. The three tracks were sent in from my FCP p

  • Newly installed version 4.01.2.6 dies when browsing

    Since I installed Bridge 4.01.2.6 version of Photoshop, I have not been able to browse pics from anyt folder. Once I select 2 or more pics of all pics from a folder and the I go to browse them (CMD-B) Bridge hangs for a few minutes and then simply cr

  • Exporting to Encore for Blu-ray

    Hi all Couple of questions guys before I get stuck into some blu-ray projects I have a couple of HDV projects that I want to get onto a Blu-ray disc. I have a burner and a test timeline went well - using /export to encore/ with default settings for M