I want to use the date field in a line rule, to decide whether to skip a chunk of the process.
I started by putting it directly in a line rule, with the first variable as ToDateTime(ItemReference.DateTimeField), but I kept getting an error about system.object[] must implement IConvertible. Then I tried to use the Data event to just move the value to a data field that I could then manipulate, but I get the same basic error "Object must implement Iconvertible".
Whatever is being returned is obviously not a simple date time value (no idea why this would be but anyway), so is there no way to work with an item reference in code? Can I not somehow access the field in a code event then I can convert it however is required?