- As you can see in the ApprovalWorkflow unit tests I have also included a decision Node based on a variable value defined at runtime. This Node implementation is based on this particular process definition. I could make it generic just by evaluating the leaving transitions but for the moment there is no way to store the transition condition.
As Charles pointed out I also think that it would be great to be able to include conditions as a part of the PVM inside transitions.
i agree. conditions should be added to transitions.