You are viewing limited content. For full access, please sign in.

Question

Question

Find User Activity Can't Find a Specific User

asked on April 14, 2016

I am using the Find User activity in a workflow came across a problem today.  I ran into a problem where there is one 1 user that it says it can’t find.  I have gone into Active Directory and found this persons account so I know they ARE in Active Directory.  But the workflow won’t find them.  Any suggestions as to why it won’t find them?

The workflow is set up to retrieve a particular field.  The user manually types the persons email address in this field.  Find user is set up to look in AD and match on email.

We have retyped the email address numerous times and it is typed correctly.  I have switched to looking by Display Name and changed the field.  But it still won’t find that person.  This person has gone through a name change and Outlook recognizes both the old and new last names but AD only has the new last name.

I am on Workflow 9.1.  I have been testing this building/testing this process for months and never had a problem.  I put in 15 different names today and no problems – except that 1 name.

Any thoughts?

 

 

 

0 0

Replies

replied on April 14, 2016

There should be a more detailed error message in the activity errors log accessible from the WF Admin Console under Monitoring. Could you paste its contents here?

0 0
replied on April 15, 2016 Show version history

Timestamp: 2016-04-14 14:13:25.874
Local Time: 4/14/2016 9:13:25 AM
Category: Activity
Machine:XXXXXXXXX
Severity: Error
Application Domain: Laserfiche.Workflow.Service.exe
Process Id: 1504
Process Name: C:\Program Files\Laserfiche\Laserfiche Workflow 9\Laserfiche.Workflow.Service.exe
Win32 Thread Id: 6384 -
Thread Name:
Message: <Exception handlingInstanceId="60797ebb-effd-42e2-a087-33bc9fe5e3be">
  <Description>An exception of type 'System.Exception' occurred and was caught.</Description>
  <DateTime>2016-04-14 09:13:25Z</DateTime>
  <ExceptionType>System.Exception, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
  <Message>Unknown error (0x80005000)</Message>
  <Source>Laserfiche.Workflow.Activity.Base</Source>
  <HelpLink />
  <Property name="ActivityName">FindUser</Property>
  <Property name="ActivityType">Laserfiche.Workflow.Activities.LookupUser.LookupTrusteeActivity</Property>
  <Property name="InstanceId">c9666742-82f4-4de5-9682-d2078bf1e99d</Property>
  <Property name="TargetSite">Void ProcessTaskQueueEvent(System.Workflow.ComponentModel.ActivityExecutionContext)</Property>
  <Property name="HResult">-2146233088</Property>
  <StackTrace>   at Laserfiche.Workflow.Activities.TaskActivityBase.ProcessTaskQueueEvent(ActivityExecutionContext context)
   at Laserfiche.Workflow.Activities.TaskActivityBase.OnEvent(Object sender, QueueEventArgs e)
   at System.Workflow.ComponentModel.ActivityExecutorDelegateInfo`1.ActivityExecutorDelegateOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)
   at System.Workflow.Runtime.Scheduler.Run()</StackTrace>
  <additionalInfo>
    <info name="MachineName" value="xxxxxxxxx" />
    <info name="TimeStamp" value="4/14/2016 2:13:25 PM" />
    <info name="FullName" value="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
    <info name="AppDomainName" value="Laserfiche.Workflow.Service.exe" />
    <info name="ThreadIdentity" value="" />
    <info name="WindowsIdentity" value="DOMAIN-A\xxxxxxxxx" />
  </additionalInfo>
  <InnerException>
    <ExceptionType>System.Runtime.InteropServices.COMException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
    <Message>Unknown error (0x80005000)</Message>
    <Source>System.DirectoryServices</Source>
    <HelpLink />
    <Property name="ErrorCode">-2147463168</Property>
    <Property name="DirectoryName">Domain-A</Property>
    <Property name="PropertyName">cn</Property>
    <Property name="LDAPPath">LDAP://co.xxxxxxxx.st.us/CN=R/W Social Services Forms,OU=Groups,DC=co,DC=xxxxxxxxx,DC=xx,DC=us</Property>
    <Property name="StartTime">4/14/2016 2:13:25 PM</Property>
    <Property name="EndTime">4/14/2016 2:13:25 PM</Property>
    <Property name="Duration">00:00:00.3276021</Property>
    <Property name="InstanceId">c9666742-82f4-4de5-9682-d2078bf1e99d</Property>
    <Property name="ActivityName">FindUser</Property>
    <Property name="Workflow">TCMDatabaseAddition</Property>
    <Property name="ContextGuid">80db9d67-38f0-4892-aab1-d4fb16d90c23</Property>
    <Property name="TargetSite">Void Bind(Boolean)</Property>
    <Property name="HResult">-2147463168</Property>
    <StackTrace>   at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
   at System.DirectoryServices.DirectoryEntry.Bind()
   at System.DirectoryServices.DirectoryEntry.get_AdsObject()
   at System.DirectoryServices.DirectorySearcher.FindAll(Boolean findMoreThanOne)
   at System.DirectoryServices.DirectorySearcher.FindOne()
   at Laserfiche.Workflow.Runtime.DirectoryServices.LDAPUserDirectoryBase.SearchForEntryProxy(DirectoryEntry rootEntry, String propertyName, String propertyValue, Boolean equalOperation)
   at Laserfiche.Workflow.Runtime.DirectoryServices.LDAPUserDirectoryBase.SearchForUserProxy(IDictionary`2 nameUserCache, String dn)
   at Laserfiche.Workflow.Runtime.DirectoryServices.LDAPUserDirectoryBase.CreateUserFromResultsCollection(SearchResult result, IDictionary`2 nameUserCache)
   at Laserfiche.Workflow.Runtime.DirectoryServices.LDAPUserDirectoryBase.FindUserWithProperty(WorkflowUserProperty property, Object propertyValue, WorkflowUser&amp; workflowUser)
   at Laserfiche.Workflow.Activities.LookupUser.Runtime.LookupTrusteeTaskExecutor.FindUser(WorkflowUserProvider provider, WorkflowUserPropertyProxy proxyProperty, String searchValue)
   at Laserfiche.Workflow.Activities.LookupUser.Runtime.LookupTrusteeTaskExecutor.ResolveUser(LookupTrusteeTaskOptions options, WorkflowUserProvider&amp; provider)
   at Laserfiche.Workflow.Activities.LookupUser.Runtime.LookupTrusteeTaskExecutor.Execute(LookupTrusteeTaskOptions options, TaskExecutorContext status)</StackTrace>
  </InnerException>
</Exception>
----------------------------------------

0 0
replied on April 15, 2016

I know some of the errors.  Throughout the day in testing, there were a couple times when I triggered it without a starting entry or when I spelled a name wrong.  But consistently it won't find the person I was looking for in the first error at 9:13am.

Thanks.

0 0
replied on April 18, 2016

Anything special about this user? Is he a trusted user from another domain? Or maybe in a OU that the WF service user can't read?

0 0
replied on April 18, 2016

Nothing different that I can figure out.  I have had the Active Directory Admin look and he can't see anything either.  She is from the same Domain as me and is in all the same OUs as me.

 

0 0
replied on April 20, 2016

Does the WFServer's service user have rights to read that account? Any chance that you're using a specific domain controller and the user is not replicated to it yet?

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.