You must have a dedicated driver variable for the measured or other production data. For example, this is a number variable (IN.Variable01). Record this variable to the driver variables.
After, you have to open the flow and the variables. Then, type the name of the driver variable into the driver variable column. x4Trace will pair these variables when a process starts, and when a part passes, this variable will automatically get a value.