Summary
When a Retrieve Field Values activity attempts to process a document with a number field, the workflow may terminate with the following error message:
Unable to cast object of type 'System.Decimal' to type 'System.String'.'
Resolution 1
This issue is resolved in Workflow 8.0.1 and later. Please upgrade to the latest version of Laserfiche Workflow.
Resolution 2
There is a hotfix available for Laserfiche Workflow 8.0. The fix is an updated version of Laserfiche.Workflow.dll (version 8.0.0.203).
To update Workflow 8.0
Note: User Account Control (UAC) prevents you from manually replacing files in the Global Assembly Cache. If UAC is enabled on your Windows Vista or Windows Server 2008 computer, you must first disable UAC to replace the dll. After replacing the file, re-enable UAC.