Context in Workflow

Apr 22, 2011 at 11:06 PM

Hi to everyone.

I think ObjectFlow is a real great tool to make code more organize and very usefull in design also for enterprise application.

I think it could very interesting to use this framework in order to apply Unit Of Work pattern.

Using this pattern is not unusual to deal with common context transactions shared between different steps of the workflow. Sometimes a context already living outside the workflow itself is needed to be shared.

Which is the better way to  accomplish this requirements with ObjectFlow ?

Thank in advance for any suggestions.

Sep 13, 2012 at 5:22 PM
Edited Sep 14, 2012 at 8:23 AM

I think this would have been cumbersome in previous versions because each operation would have been responsible for checking if exceptions had occurred.

This would now be a lot easier as I've added better exception handling to the latest beta (1.4.x) to enable error handling policies that are independent of the operations.

The operations would simply need to handle failure for business logic related reasons, rather than exceptions.