Tomorrows job is to get the rego check done for my car. Should be a very simple task I would guess… This will be the first rego check on my car – thanks to new-ish cars not needing checking for the first few years of their life. This should not take long at all.

This evening I have been doing more work on the workflow engine. I am very close… I know I have said that for the last few days but I am confident. Really it is just tidying up things, and getting the interfaces right so I can then plug it into the administration program – at least when that is written. But there are some other things to be done before that too.

In order to be able to turn a VB.NET structure into XML, you need to put in front of the definition of the strucure. An example would be

_
Public Structure WorkflowActionsStructure
End Structure

Then you can use one of the following types of functions to convert to and from XML.
Dim parser As New XmlSerializer(WorkflowStates.GetType)
WorkflowStates = parser.Deserialize(rs)
or
Dim serializer As New XmlSerializer(WorkflowStates.GetType)
serializer.Serialize(ms, WorkflowStates)