(Dispatch) How to apply a variable value from a file to all files that it contains

I am creating an ECN process that attaches the parts/assemblies being changed to the ECN document (paste as reference) so that I can transition all of the parts in the ECN by just transitioning the ECN document.  I want to create a dispatch script that will execute on the first transition of the workflow and copy the ECN Number and Name from the ECN document to the corresponding values in the part/assemblies.

How do I apply the name and number from only the ECN document and apply it to all of the other files that are going through the same transition?

SolidworksSolidworks Pdm enterprise Pdm