NOTE: I can create this report using other means, but I am using this as means to further my understanding, knowledge and expertise of Flow.
I am working on building a report style flow - we have a text file that is appened to each time a user logs into a machine. the data we store is PCName, Username and Date/Time.
Report requirement: Produce a tailored email to each person identified in the list with the time they logged into their PC on a weekly basis.
Current Progress: I have created a variable of the target day, and I have a routine that converts splits each line of data (PCName, Username, DateTime) into an array, further splits each line into another array of each element, a further array that splits the DateTime and compares the date to our target date to see if we need to do anything.
The Problem: How do I create further arrays dynamically for each identified user? there could be 30 entries or 40 depending on attendance? I need to create an array for each user, within that array add a date and time of their "first" login - the solution if there is one would need to check to see if an array exsists before adding to it and creating one if it doens't.
I suspect this might be a little too complex for Flow at present, but hopefully i'm wrong...
Thank you in advance.