AnsweredAssumed Answered

Workflow failed at 'Assign Flexi task' action

Question asked by racherlajagan on Jan 19, 2016
Latest reply on Mar 3, 2017 by dinos

We are using "Nintex Workflow 2013 (3.1.5.0) - English" in our project server environment. One of our state machine workflow is failing intermittently at some state and particularly at "Assign Flexi Task" action .

 

We have investigated the logs and could find the below exceptions.

 

  • Nintex.Workflow.NWException: Could not get DirectorySearcher from SharePoint. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: Specified value is not supported for the domainName parameter. at Microsoft.SharePoint.Utilities.SPUserUtility.GetDomainControllerToSearch(SPWebApplication webApp, String domainName) --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at Nintex.Workflow.Ldap.GetDirectorySearcher(SPWebApplication webapp, String domain) at Nintex.Workflow.Ldap.GetManager(SPWebApplication webApp, SPUser u, String& displayName, String& username) --- End of inner exception stack trace --- (Build:3150)

 

  • Unable to get domain DNS or forest DNS for domain SHAREPOINT. ErrorCode=1355
  • SPAce PrincipalName found  account renamed to NULL SID. Using new name.
  • Error establishing database connection.: System.Threading.ThreadAbortException: Thread was being aborted.     at SNIReadSyncOverAsync(SNI_ConnWrapper* , SNI_Packet** , Int32 )     at SNINativeMethodWrapper.SNIReadSyncOverAsync(SafeHandle pConn, IntPtr& packet, Int32 timeout)     at System.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync()     at System.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket()     at System.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer()     at System.Data.SqlClient.TdsParserStateObject.TryReadByte(Byte& value)     at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)     at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)     at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)     at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)     at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)     at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()     at Nintex.Workflow.Administration.Database.ExecuteNonQuery(SqlCommand command, Boolean useTransaction) (Build:3150)
  • System.Threading.ThreadAbortException: Thread was being aborted.     at SNIReadSyncOverAsync(SNI_ConnWrapper* , SNI_Packet** , Int32 )     at SNINativeMethodWrapper.SNIReadSyncOverAsync(SafeHandle pConn, IntPtr& packet, Int32 timeout)     at System.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync()     at System.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket()     at System.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer()     at System.Data.SqlClient.TdsParserStateObject.TryReadByte(Byte& value)     at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)     at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)     at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)     at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)     at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)     at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()     at Nintex.Workflow.Administration.Database.ExecuteNonQuery(SqlCommand command, Boolean useTransaction)     at Nintex.Workflow.HumanApproval.MultiOutcomeTask.Save()     at Nintex.Workflow.Activities.ApprovalHeaderActivity.codeActivity1_ExecuteCode(Object sender, EventArgs e)     at System.Workflow.ComponentModel.Activity.RaiseEvent(DependencyProperty dependencyEvent, Object sender, EventArgs e)     at System.Workflow.Activities.CodeActivity.Execute(ActivityExecutionContext executionContext)     at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(T activity, ActivityExecutionContext executionContext)     at System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)     at System.Workflow.Runtime.Scheduler.Run()     at System.Workflow.Runtime.WorkflowExecutor.RunScheduler()     at System.Workflow.Runtime.WorkflowExecutor.RunSome(Object ignored)     at System.Workflow.Runtime.Hosting.DefaultWorkflowSchedulerService.WorkItem.Invoke(WorkflowSchedulerService service)     at System.Workflow.Runtime.Hosting.ManualWorkflowSchedulerService.RunOne(Guid workflowInstanceId)

 

Any help on this issue is highly appreciated.

 

Thanks in advance.

Jagadish

Outcomes