none
Nintex.Workflow.NWActionExecutionException: Failed to log to history list. ---> System.ArgumentNullException: Value cannot be null. Parameter name: value

    Question

  • Hi,

    I have 3 levels(State machine) of approval in Nintex workflow. All approvals is approved then it is failing into log to workflow history list. Even we are writing static text in to Workflow login history, There is no custom value is writing in login history though It is failing and giving following error. Issue occurred for approx 8 documents in same time. Please help on that.

    Also executed same workflow in same document, this time it is working fine.

    Thanks in advance.

    Nintex.Workflow.NWActionExecutionException: Failed to log to history list. ---> System.ArgumentNullException: Value cannot be null. 

    Parameter name: value   
     at System.String.IndexOf(String value, Int32 startIndex, Int32 count, StringComparison comparisonType)   
     at Nintex.Workflow.Common.StringFunctionParser.Execute(String Input, SPWeb web)   
     at Nintex.Workflow.HumanApproval.Message.AddContextDataToString(String input, NWContextDataCollection data, Boolean escapeValuesForSql, Boolean decodeInput, Boolean

    allowSensitive, Boolean escapeValuesString, Fxo= constantReplaceMode)   
     at Nintex.Workflow.HumanApproval.Message.AddContextDataToString(String input, NWContextDataCollection data, Boolean escapeValuesForSql, Boolean decodeInput)   
     at Nintex.Workflow.Activities.WriteToHistoryListActivity.Execute(ActivityExecutionContext executionContext)   
     at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(T activity, ActivityExecutionContext executionContext)   
     at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(Activity activity, ActivityExecutionContext executionContext)   
     at System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)   
     at System.Workflow.Runtime.Scheduler.Run()   

    • Moved by Just KarlModerator Tuesday, November 17, 2015 3:08 PM Looking for the correct forum.
    Tuesday, November 17, 2015 11:44 AM

Answers

All replies

  • Hello,

    The TechNet Wiki Discussion Forum is a place for the TechNet Wiki Community to engage, question, organize, debate, help, influence and foster the TechNet Wiki content, platform and Community.

    Please note that this forum exists to discuss TechNet Wiki as a technology/application.

    As it's off-topic here, I am moving the question to the Where is the forum for... forum.

    Karl


    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book: Windows PowerShell 2.0 Bible
    My E-mail: -join('6D73646E5F6B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

    Tuesday, November 17, 2015 3:02 PM
    Moderator
  • Hello,

    I'd ask Nintex.

    You could also ask in the SharePoint forums.

    Karl


    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book: Windows PowerShell 2.0 Bible
    My E-mail: -join('6D73646E5F6B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

    Tuesday, November 17, 2015 3:04 PM
    Moderator