Filter CSV file read stream for specific number, get belonging text

Im using node red v3.02

I'm reading a cvs file with the cvs node and get the following messages out:

As you can see I have several ID's (ErrorCodes) and a corresponding text (ErrorText). I have another Node sending me the current ErrorCode (ID).

What I want to do is to initially read the file store it somewhere (in a global array??) and as soon an ErrorCode (ID) is given search for the corresponding text. I don't know where to store file information and I don't know how to read out the corresponding text

Perhaps someone out there can help me out

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.