Skip to main content
Nintex Community Menu Bar

Error "System.InvalidCastException" in Nintex Workflow for Office 365

  • March 26, 2021
  • 0 replies
  • 45 views

Forum|alt.badge.img+8

Issue

When using 'Set Workflow Variable' in Nintex Workflow for Office 365, this error might occur during workflow runtime:

RequestorId: <GUID>. Details: An unhandled exception occurred during the execution of the workflow instance. Exception details: System.InvalidCastException

 

Resolution

Make sure that variable type and the value used to set the workflow variable matches. 
For example: 
A Date/Time type of variable would not match with Number value.