cancel
Showing results for 
Search instead for 
Did you mean: 

Error "System.NullReferenceException: Object reference not set to an instance of an object"

ISSUE
When a task is assigned to a user using the UPN account property, the following error might occur:

Nintex.Workflow.NWActionExecutionException: Error in task. ---> System.NullReferenceException: Object reference not set to an instance of an object.
ERROR CODE
RESOLUTION
In environments where the UPN property is being used as the primary ID, it should be converted into a domain\username property in a workflow first before then using this to assign a task.
ADDITIONAL INFORMATION
The UPN property is primarily used in environments where user accounts cross multiple domains. This is problematic for the workflow engine, which will struggle to recognise the user account and assign tasks correctly.

User Name Formats in Microsoft Developer Network.
RELATED LINKS
Version history
Revision #:
1 of 1
Last update:
‎11-20-2018 12:39 PM
Updated by: