One state machine, transitions as table rows, and no step-specific code: notes from a multi-step approval workflow on SAP.