I am trying to create a process and run function for each list. The function will write data to a public resource. However, I couldn\'t get the right result due to the racin