Domanda

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

È stato utile?

Soluzione

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange
scroll top