I am logging data for 12 sensors in a CSV file, where each sensor corresponds to a specific column (e.g., Sensor1, Sensor2, Sensor3, etc.). I want to dynamically assign column names for each sensor through text input. While I have implemented the logic, the sensor data is mixing up with data from other sensors. Could you review my logic and provide suggestions to correct this issue?
please find the flow file in attachment
flows.json (16.0 KB)