How to fix error 'Cannot serialize the DataTable. DataTable name is not set' in 'Wait for form task and continue' activity?
- Debug the code and check if there are any DataTable variable is present with table name property as null or empty.
- The issue is observed if any of the Datatable's TableName property is not set in the workflow. Set them as shown below. This has to be done to ensure that the Datatable variable can be serialized.
- Remove all the unused variables of type DataTable.