How to read a file on demand
I have a file stored permanently in a directory.
This file contains a lookup list that the business users can update at any time.
My application needs to read the contents of the file and use them in processing.
How can I read the file only when a at the moment it is needed?
I don't think a File Listener would work because a listeners waits for a certain file to arrive and then processes it as soon as it finds it.
I need to be able to call 'something' from my activity to read the file only at the needed moment.
Is there any Pega capability to do this? I can't find anything similar on google.