I just published this article medium.com/@erlang/bank-grade-workflow-engine