In a site workflow, got error in query user profile action

  • 1 June 2016
  • 1 reply
  • 105 views

Badge +3

In a site workflow, got following error in query user profile action:

Error querying user profile. UserProfileDBCache_WCFLogging :: ProfileDBCacheServiceClient.GetUserData threw exceptionSystem.TimeoutException

 

I didn't get this error consistently. The query user profile action is in a loop. Sometimes I got the error in the first record, sometimes I got it in the middle of the loop, that means there were successes in querying user profile for some records. I saw some suggestion to increase the timeout limit in sql server, I checked it and it is in 600 which is 10 minutes.

 

I am in sharepoint 2013 on premise.

 

Thank you in advance for any advice!

 

Alex


1 reply

Badge +3

A follow up, I added 5 minutes pause in the beginning, changed some logic, and the error disappeared.

Reply