Hi Kenneth,
FYI Flowsana provides both of these exact capabilities via its Dynamic Duration workflow type.