How to fix Workflow failed to get user profile for user:

hi All,
How to fix Workflow failed to get user profile for user when using Lookup function in sharepoint designer?

Try to use “As string” instead of “Login Name” for the “Return field as”.
Regards,
Jayant
jayant prabhakar

Similar Messages

  • Worflow failed to get user profile for user

    I have a workflow that sends an email to a user.  In the workflow email, one line has the lookup [%User Profiles:Name%], with Return field "As String" of the list item Field "Account Name" with Value "Current Item:Created By".
    This workflow works for everyone, except it Errors when one user creats an item in this list.  The error is "Workflow failed to get user profile for user...  System Account - An error has occurred in Workflow Name"
    and more detailed error found in logs: "AutoStart Workflow: Microsoft.SharePoint.SPException: Recursive workflows are not permitted.     at Microsoft.SharePoint.Workflow.SPWorkflowAutostartEventReceiver.<>c__DisplayClass1.<AutoStartWorkflow>b__0(SPSite
    superUserSite, SPWeb superUserWeb)
    System.InvalidOperationException: Workflow failed to get user profile for user:domainName\username.     at Microsoft.Office.Workflow.Actions.UserProfileHelper.GetProfile(String propertyName, String user)     at Microsoft.Office.Workflow.Actions.ProfileHelperBase.GetProfileString(String
    propertyName, String userOrOrganization)     at Microsoft.Office.Workflow.Actions.GetUserProfileActivity.Execute(ActivityExecutionContext context)     at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(T activity,
    ActivityExecutionContext executionContext)     at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(Activity activity, ActivityExecutionContext executionContext)     at System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime
    workflowCoreRuntime)     at System.Workflow.Runtime.Scheduler.Run()  "
    When I run "get-addomain -identity [FQDN]", I noticed that our DNSRoot has a totally different name than our NetBIOSName, so I followed this article and made sure to set netbiosdomainnamesenabled to TRUE:
    http://meandmysharepoint.blogspot.ca/2012/09/netbiosdomainnamesenabled-and.html
    To give you an idea of our setup, our DNSRoot is "abc.domain.com" and our NetBIOSName is "TESTING"; 2 totally different names.  When I run "get-addomain -identity [FQDN]", the Name field is: "abc" (just the first
    part of the DNSRoot); therefore, when I look up this user's profile in Sharepoint Manage User Profiles, his account shows as "abc\username" when it should be "TESTING\username".
    I did an IISReset, and I ran a Full Profile Sync. But the workflow still Errors for this user.
    Any ideas how to fix this?  Should I delete MySites and User Profile Service application and recreate them?
    Any tips would be appreciated.
    thanks!

    Hi,
    According to your description, my understanding is that the error occurred when sending an email to the user in workflow.
    Did you delete the existing Connections before setting NetBiosDomainNamesEnabled?
    If not, I recommend to delete and recreate your AD connections, then set NetBiosDomainNamesEnabled to true.
    Or you can delete the original User Profile Service Application and create a new one, then set the NetBiosDomainNamesEnabled to true and start the User Profile Service Application
     synchronization.
    More reference:
    http://social.technet.microsoft.com/wiki/contents/articles/18060.sharepoint-20xx-what-if-the-domain-netbios-name-is-different-than-the-fqdn-of-the-domain-with-user-profile.aspx
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • TS1424 How to fix iTunes when you get this you can download past purchases on this computer with just one apple ID every 90 days. This computer can be used with a different apple iD in 50 days

    How to fix iTunes when you get this you can download past purchases on this computer with just one apple ID every 90 days. This computer can be used with a different apple iD in 50 days

    hi i dont know if this will work for anyone but i had not been on itunes for sometime but today i went on to watch a new episode of walking dead but it said i still had to wait 36 days out of the 90days , i managed to get my episode to download load by clicking my apple id in itunes going to account and at the very bottom off the page there is a button that says reset all warnings for buying and downloading i pressed this then it let me download hope this works for you worked for me

  • How to get Unique calid for users with same name in multiple domain env..

    I found we need to use "-k legacy" option for creating users in non-hosted setup..
    I had two domains default as xxxx.com and the one that I created as yyyy.com
    When I have users with same name in two of the domains as user1..
    The calid for both of them is... user1 ....so they share the same calendar
    When Im in valid SSO of yyyy.com I get the mail account for user1 as [email protected] .....but the calid .. common as user1
    How I can get unique calid for users under two domains..
    whether I need to set Hosted domain support...Then how the mailid's differ with out using hosted domain support..
    And I need to login UWC without using @domain.com...
    Help me on this...
    Ashik

    Do you have UWC and Cal configured at least for virtual domain support?
    basically.. for discussion.. let's say you have three domains on your server.. 1st domain is the default domain. other 2 domains are virtual domains.
    if all domains were created with mail and cal support (-S mail,cal).. you would use the following options when creating users:
    1) for the default domain.. you must use the "-k legacy" option when adding users.
    2) for the other two domains.. when you create the user.. do NOT use a "-k" option.
    If you do not use the "-k" option.. it defaults to "hosted" which will cause the user's calid to be [email protected]
    If you Do use the "-k legacy" option.. it will create the calid as just "userid"
    With regard to logging into UWC without the @domain.com part of a username in a hosted domain.. the easiest way to avoid this.. is to point a host name under the hosted domain to the server.
    if you point webmail.xxxx.com to the server... and then access it via:
    http://webmail.xxxx.com/uwc/
    any users in the xxxx.com hosted domain will NOT need to use @xxxx.com when logging in... they can just use "userid"
    This feature does not take any special configuration (aside from adding a DNS entry for the hosted domain)
    Hopefully that helps.

  • TS3430 does anyone know how to fix itunes when you get the message that it has encountered a problem and needs to close

    does anyone know how to fix itunes when you get the message that it has encountered a problem and needs to close

    You are using ADE on Windows or Mac ? and their versions ??
    Please restart your machine and try once again.
    Thanks

  • HT4539 I followed the instructions given to turn my automatic download icon in my iphone 3 and still goes back to off position. Any idea how to fix this issue without getting a new one?

    I followed the instructions given to turn my automatic download icon in my iphone 3 and still goes back to off position. Any idea how to fix this issue without getting a new one?

    Something may have gone amiss on your iPhone.
    To attempt to correct this follow these steps:
    Backup your iPhone using iTunes or iCloud.
    Use iTunes to completely restore your iPhone as Factory new.
    Monitor battery usage to see if it is normal. If not, you may have a hardware problem - if so, contact Apple support.
    Restore your iPhone from your backup above.
    Check battery usage to confirm that it is still normal.

  • Hello CS Community: I am about to renew my cloud subscription for one year. My current subscription is for one user for both Mac (and) PC. When I pay for this, how do I know I'm getting a subscription for both my MAC and PC? It's not clear what is being p

    Hello CS Community: I am about to renew my CS cloud subscription for one year. My current subscription is for one user for both Mac (and) PC. When I renew, how do I know I'm getting a subscription for both my MAC and my PC? It's not clear what is included in the purchase. I'm choosing the 49.00 a month package. Any insight would be much appreciated.

    Hi ShearLine,
    The Creative Cloud subscription is not OS specific as it's licensed via your Adobe ID.
    You can purchase a single subscription and use it on 2 machines irrespective of it being Windows or Mac.
    Regards,
    Rave

  • "failed to get MAC address for machine"

    here is the jist of things.
    installed leopard and have it pimped out to my personal specs. I like where everything is and how things are working. No issues. just so you know, i only use WIFI for internet, i share with the guys upstairs. In order to get wifi on my machine, i use a USB dongle. works great no issues with it ever, well until i physically broke it. No big deal. So i replaced it with another one, different drivers/chipset worked.. And since i installed leopard i only backed it up once with TM, i dont care for daily/hrly backups, weekly is fine for me. Now after 2 weeks and a new usb network card. TM gives me an error. i click on the little red i and it says "the backup volume could not be found" so googled and searched the forums not much help, so i tried and formated my ext drive repaired and click on TM again, same error. In the error log in console, right after i turn on TM i get this error, "failed to get MAC address for machine" then 180 secs later, TM fails. again, and again.
    Can anyone tell me where i can find what MAC address its looking for??? ethernet has never been plugged in to my machine ever. its only been online via USB wifi. Im really lost here, i dont know what i can do.. im sure if i try another drive ill get the same error. please help if you can.. much appriciated.
    Jamie

    yeah i get a 'failed to get mac address' message too. what's weird is that it seems that leopard 'broke' my ethernet (there was no mac address, couldn't connect to the internet through ethernet after a clean install), and then 10.5.2 'fixed' it. for some reason, i have an 'ethernet 2' heading in system preferences that works correctly and has a mac address and everything, while the regular 'ethernet' tab doesn't work at all. however, i still get this time machine error. i don't understand why time machine is so incredibly fickle. sorry, i'm really of no help to anyone, other than adding another voice to the frustration.

  • Failed to activate authorization check for user SAPSYS

    Hi Experts
    I am trying to run the sdcc, it was throwing time_out error. i have increased the work process runtime. now
    i am getting a error Failed to activate authorization check for user SAPSYS.
    Please help me to solve this issue.
    Regards
    Venkat

    Hi, Mr. Joe Bo.
    Thanx for your reply. We are using ECC6 (HP Unix with Oracle)
    Basis Patch - 15, Kernel 159
    I have seen the the note but it's showing ccms method defination settings, but for my case we are yet to go live we have not made any settings from sap they are planning to run a session for the go live. When i am running sdcc i am getting a error in the system log "Failed to activate authorization check for user SAPSYS"
    Thanks & Regards
    Venkatesan J

  • Failed to get airlineregion context for the spryregion1 region

    Hi ,
    I am new to spry and using Neston json dataset.
    My data is uploding perfectly but i am getting an error like:-- "Failed to get airlineregion context for the spryregion1 region".
    where airlineRegion is one of my parenbt regions.
    Kindly suggest.
    Satish.

    Hi Satish,
    You have not given us much to work on and especially because we do not get this error, I can only assume that you are not doing the right thing.
    FYI I quote what is being suggested to newbies:
                            Announcement:
                            New to Spry, or  the Spry forums?
                                Hide Details
    Before you post a topic please verify
    that:
    You
    are using the latest Spry files
    The latest version of
    the Adobe Spry Framework is 1.6.1, this is the same version that ships
    with Dreamweaver CS4. If you use Dreamweaver CS3 (uses Spry 1.4), its
    wise to upgrade your files to the latest version. This can easily be
    done using the Spry Updater that can be found here.
    Your
    question was not asked before
    Using the search
    functionality on forums you can easily find out if your question has
    been answered before. While you are in search, you can specify the
    search locations. The Spry forum can be found under:
    Adobe
    Labs > Spry Framework for Ajax
    Yoru question can not be
    found in the existing documentation
    Spry provides you
    with allot of documentation this can found on different locations. In
    the sidebar of this forum you can find a small summary of resources that
    will help you on your way.
    If these options do not apply to your question,
    please be so kind to also supply the following information in your topic
    together with a clear description of your issue:
    What
    browsers does this issue occure:
    example: Internet Explorer 8 on
    Window 7 and Firefox 3.0 on Mac OSX
    What version
    of Spry are using:
    example: Spry 1.6.1 ( the version number can
    be found in license header of the .css and .js files )
    What
    is the url of your website or page in issue:
    example: http://www.example.com/page/in/issue.html
    Step
    to reproduce the issue:
    example: Scroll down till you find the
    header "help", there you will see a Spry Accordion. When you click on it
    it will not open or close.
    So users can provide you with a
    better answer, without having to ask you for further details.
    I look forward to helping you.
    Ben

  • How do you keep a VI running while waiting for user input?

    I have a VI that:
    1.  The user enters set points.
    2.  The user starts the VI and the VI sends the set points to an external process via a serial interface.
    3.  The VI  stops running.
    4   The user waits for the external process to complete.
    5.  Repeat sequence. Go to Step 1.
    This works well except for one small problem.  Starting the VI in step 2 causes an external micro controller to reset.  During the reset it will ignore set point commands.  To get around this problem a delay has been added between when the VI opens the serial port and when the VI sends the set points to the external process   Is it possible to keep a VI running continuously in this type of application, thereby eliminating the start up and shut down of the serial interface?
    If yes, how do you keep a VI running while waiting for user input?
    Howard

    The ones for the event structure specifically. I'm posting from my phone. Look at the basic ones for user input. even a simple while loop with a boolean and a case statement would work.

  • HT1338 Hello, i currently acquired a Mac Book Pro and running Mac Os X 10.8.3, but i have failed to get the driver for my canon inkjet printer. could anyone help me out please? Thank you

    Hello, i currently acquired a Mac Book Pro and running Mac Os X 10.8.3, but i have failed to get the driver for my canon inkjet printer. could anyone help me out please? Thank you

    You may be able to download it fom here:
    Printer and Scanner software available for download:
    http://support.apple.com/kb/HT3669?viewlocale=en_US

  • Failed to get IP address for Local Host (2) , OPMNCTL: opmn start failed

    HI,
    Hi, I have installed on Oracle 10g on Redhat Enterprise Linux V.2.1 . I was able to start OEM without any issues. Recently I had changed the static IP address and I couldn't able to start OPMNCTL and getting the following error while starting opmnctl start. error message is as follows.
    Failed to get IP address for local host(2).....
    Failed to get IP address for local host(2).....
    Failed to get IP address for local host(2).....
    my current configuration in /etc/hosts file is as follows.
    127.0.0.1 localhost.localdomain servername
    After going through some of threads available in Oracle, I have added the static IP address in the /etc/hosts but still I am getting the same error.
    my new hosts file is as follows.
    127.0.0.1 localhost.localdomain servername
    10.21.253.102 localhost.localdomain servername
    I don't know why this is looking for localhost (2). I did not set up any local host (2) and I could not see anything in my network confiuration also.
    could you please help me in this issue? I appreciate your help in this regard.
    Thanks
    venkat

    Hi, i think that the application server part is looking for a /etc/hosts entry
    in this format:
    127.0.0.1 localhost
    As i noticed, this is used for internal communication.
    Try this entry as is, without a domain...

  • Failed to get proc address for GetLogicalProcessor...

    hi everyone whenever i try to open the skype after instalation it show me this error"Failed to get proc address for GetLogicalProcessorInformation (KERNEL32.dll."please help me to solve this problem.i will be very thankfull to you for this favour.thank you.

    Hi, i think that the application server part is looking for a /etc/hosts entry
    in this format:
    127.0.0.1 localhost
    As i noticed, this is used for internal communication.
    Try this entry as is, without a domain...

  • How to fix ipad disabled? it is looking for password, it looks like its frozen

    how to fix ipad disabled? it is looking for password, it looks like it's frozen.

    First, try a system reset.  It cures many ills and it's quick, easy and harmless...
    Hold down the on/off switch and the Home button simultaneously until you see the Apple logo.  Ignore the "Slide to power off" text if it appears.  You will not lose any apps, data, music, movies, settings, etc.
    If the Reset doesn't work, try a Restore.  Note that it's nowhere near as quick as a Reset.  It could take well over an hour!  Connect via cable to the computer that you use for sync.  From iTunes, select the iPad/iPod and then select the Summary tab.  Follow directions for Restore and be sure to say "yes" to the backup.  You will be warned that all data (apps, music, movies, etc.) will be erased but, as the Restore finishes, you will be asked if you wish the contents of the backup to be copied to the iPad/iPod.  Again, say "yes."
    At the end of the basic Restore, you will be asked if you wish to sync the iPad/iPod.  As before, say "yes."  Note that that sync selection will disappear and the Restore will end if you do not respond within a reasonable time.  If that happens, only the apps that are part of the IOS will appear on your device.  Corrective action is simple -  choose manual "Sync" from the bottom right of iTunes.
    If you're unable to do the Restore, go into Recovery Mode per the instructions here.

Maybe you are looking for

  • How to get personnel number of the user in the wd java code in Leave reques

    Hi all, we are using the standard Leave Request Applicatin ESS. can any one please tell me how to get the personnel number of the user in the WD java code? cause i have pass the pernr number to a bapi and get the details. please help me its urgent. t

  • ASP Page Manipulated by Form Variable

    I have an ASP page containing data from a recordset. I would like help doing the following: When the user first opens the page, they see all of the records. On the top of the page, there will be a form containing a menu and a submit button. I would l

  • Pdf viewing problem

    Grey screen when trying to open PDF, get error 103:103, tried all solutions on forum but no joy. When try and open Adobe Reader x on desktop only get error message asking me to report this to microsoft. Tried, uninstalling etc, updating, tried in bot

  • Creating childnodes vars

    Hello all I have been passed a project that integrates XML with flash and as I only have a limited knowledge of using XML I wondered if anyone could offer some help on this question. if you go to this link it shows how the file works and looks now wh

  • Version & Release in PR

    Hi,      Iam using release & version  for PR.After releasing iam changing the PR, now version is created but iam not able to change the quantity or Price( becomes grey field).Is there any specific reasons for this. Thanks, Karthik