I am fetching data records from source system in XML format which needs to be converted into CSV format and delivered as ZIP file. As the target File server and directory is same for all 3 Environments (DEV, TEST and PROD), I need to differentiate based on file name. I am planning to add Environment ID at the beginning of file. I am expecting following 3 file names in 3 environment.
DEV - DEV_SalesAudit_ddMMyyyy.zip
TEST - TST_SalesAudit_ddMMyyyy.zip
PRD - PRD_SalesAudit_ddMMyyyy.zip
I am planning to use Extensions for setting Environment ID and remaining file name is same for all Environment.
Could you please help me how I can use Extensions and best approach if other than extension ?