As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
runtimeService.setVariable(request.executionId, "SeriesObject", seriesObject);
Personally I think two is the best. It is the most natural way and the way transactios are meant to be used.