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_expertConnect With a Mentor Commented:
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
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
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
All Courses

From novice to tech pro — start learning today.