Forum Discussion

Harsha3's avatar
Harsha3
New Contributor III
5 years ago

File writing using smb path

Hi Good day,

I am trying to write a file in the remote desktop server . Instead of hardcoding the data I have parametrized certain fields as we have sequential child execution running for each country.

This is my path:

‘smb://sgkcawveemwdv02.astrazeneca.net/D$/Dataloader/IE/REPORT_EXTRACT/’
+Country+‘/CALL_EXTRACT/EXTRACT_OUTBOUND/’+(Date.now().plusDays(1).toString()).substring(0,10).replaceAll(‘-’,‘’)+" AZ_Veeva_Activity_Call_Detail_OUTBOUND+“_”+_Country+“.csv”

It is showing parsing error at “EXTRACT_OUTBOUND” . Please help in getting this resolved.

Thanks,
Harshavardhana