@jmdiezte, maybe you could use this approach discussed in our other post (that exploits the dynamic data attachment feature):
dynamic data attachment