I have this file listener and the configurations below. At first, I tried to the service file via Run and it works properly. Working properly is that the the service file is able to pick-up my content inside csv file and save it to my data type. When I test via Admin studio (Resources → Listener), my file listener seems not working because it doesn’t save to my data type. I tried to run the tracer but none ap
pear in it.Hi @joshua_123: Can you also check the logs to see if there are any errors?
When you say you tested from service file, I hope you uploaded a manual file. If this is the case, can you check whether the folder and file to process has necessary permissions for the PEGA process to process it.
Please also validate the requestor login and the access group in your service package for necessary permissions.
Thanks.
@ArulDevan This is because I accidentally choose “Delete” in my clean up file operation. I ended up create a file system repository that pointing to my destination folder and an activity to populate my data. I also found that in file listener setting, you need to choose “Keep” in clean up file operation.
[this part below is added for future knowledge]
I just notice that when Pega running it’s file listener, pega will move the file (in my directory it’s listener2.csv) to directory inside folder work_listener_poc2/. There’s two folder inside it, completed and errored. The file that has been successfully listening by Pega will move to completed folder. So everytime you test this file listener, make sure that the file you want to listen is exist and also pega have certain permission to make changes inside this folder.

