Exclusive Gateway after multiinstance subprocess

I have Exclusive Gateway after multiinstance subprocess, which use parameter from subprocess.
What value will be used in the gateway?
Are there functions for processing values for multiple instances if the values are different?

(upload://yiDFbTjVfgB9fZxwc5edPviNGUE.jpeg)

Please upload your model, it’ll make it a lot easier to know what you’re talking about

here