SharePoint Designer 2010 Workflow not consistently capturing "Assigned To"

I built a simple two step SPD workflow which gets triggered from a custom event handler for item adding event.

For some reason,  I can run this code and enter the same data each time and yet randomly the "Assigned To" column does not get value.  I could run it 10 times and sometimes the column gets the value and perhaps 2 or 3 times it does not it.

Please advise.
LVL 1
Howard BashSenior Software EngineerAsked:
Who is Participating?
 
dp_expertCommented:
SharePoint logs everything in the diag logs in the 14 hive. If they are set to verbose and nothing gets logged, then there is really nothing where we can search. Can you find any pattern when this error occurs - item values, farm load, number of items on a list, etc? Are inputing this user directly or with some lookup?
0
 
dp_expertCommented:
Can you try to search sharepoint logs for some "Workflow infrastructure" related logs? Is the same account being used to trigger the workflow in each case?
0
 
Howard BashSenior Software EngineerAuthor Commented:
The same account is triggering the workflow in all cases.
0
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

 
dp_expertCommented:
Anything in the logs? Are you assigning the same user and sometimes the user is added and sometimes not?
0
 
Howard BashSenior Software EngineerAuthor Commented:
There is nothing in logs that I found and same user is being used.  Is there some specific log that you would like me to check?
0
 
dp_expertCommented:
Hello, did you found out what was the problem? Can you provide some insights?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.