How to update records in data type with external csv file automatically every day
Hello everyone,
I have some questions about updating automatically records in Pega. First, let me introduce the context:
1. We have a data type X, we need to update its records every day at h hour (I guess using a job schedular) from external data base table which provides us a csv file to be used in the update process.
2. An administrator (with specific access group) will have the possibility to update this data type records as well: An administrator has a screen which contain a table in which he will be able to check a case to add a new record in that data type, or to update an existing record.
Questions about points 1 and 2 above: 1. Is that could be done via a job schedular which will use an activity. the imported csv file should be saved in a temporary data type. Then, could we apply comparison on csv files (csv file containing existing recors Vs csv file providing by the external data base table) and then save changes (adding or removing records) all via an activity, do we have methods to do that in Pega?
2. is it feasible to update data type records in action tab of a button or another UI element?
Many thanks in advance.