0

I'm getting the error "An unhandled exception occurred during the execution of the workflow instance. Exception details: System.ArgumentNullException: Value cannot be null." when attempting to run the below workflow in a SharePoint Online Add-In:

Error

I can't find what I'm doing wrong. This workflow is built in Visual Studio 2015: Workflow Overview

LookupSPListItem

GetDynamicValueProperties

CreateListItem

Variables

1

To troubleshoot the issue, check things below:

  1. Debug the workflow to check if you can get list item and create the list item in another list. Make sure there is value in the required field when creating item in another list.

  2. Restart the workflow again and check result.

More references:

Error "An unhandled exception occurred ... Value cannot be null".

https://support.nintex.com/Office_365/Workflow/Error_%22An_unhandled_exception_occurred_..._Value_cannot_be_null%22

Add a workflow to a SharePoint-hosted SharePoint Add-in.

https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/add-a-workflow-to-a-sharepoint-hosted-sharepoint-add-in

1
  • Looks like I needed the Document Library column "Name (FileLeafRef)," which was added automatically when I recreated the CreateListItem step. Thanks for your help! – dikuw Jan 2 '18 at 14:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.