Dynamically create transaction groups

This probably will not completely answer your question, but some information none the less.
EDIT
Dynamically-Driven Transaction Groups In SQL Bridge?
This has more answers than the first one.