cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

AzureStorage Fileshare Storage dynamic file name based on property

paruchuri9999
Discoverer
0 Kudos
121

iflow receives multiple files and based on the file names I required to post the files to respective folder path of AzureStorage using FileShare for which I could use the router option, but when writing the file's dynamically based on the file name property is not working and getting exception on my receiver connector

/filesharepoc/Inbound/ReceiveFiles/${property.sourceFilename}

java.lang.StringIndexOutOfBoundsException: String index out of range: -1

but if I maintained the target file name as : /filesharepoc/Inbound/ReceiveFiles/test.txt which works 

Accepted Solutions (0)

Answers (1)

Answers (1)

paruchuri9999
Discoverer
0 Kudos

Resolved the issue after maintaining entire path as a property parameter