If you are a C# developer using Workflow you might not know how VB does type conversion.
Imagine this simple example. I’ve got some classes which use inheritance
Then, in my workflow I create some variables
Watch what happens if I try to cast this using C# syntax
There are many options for type conversion in VB
The simplest thing is to just change this expression to use DirectCast.
Twitter: @ronljacobs https://twitter.com/ronljacobs