use "OnSubjobOK" from the start component of the particular subjob (the one with a green background, the start of the flow) rather than onComponentOK on the DB output.
as a rule of thumb, onComponentOK should be avoided. This connector can have different behavior depending on the source component-- so unless you know what you're doing, its a good idea to just avoid using it all together.