Hi All,
I have used hard coded path such as: In a workflow, in file collector,I have used folder path to pick from D:\FolderX\QA\xyz\
Now, the following changes need to be done:
- This path should be in option - folderPath: D:\FolderX\<environmentVariable>\xyz\
- QA should be in another option variable, that defines environment i.e, environmentVariable.
I tried with this approach:
By assiigning the option folderPath with this value ->
D:\FolderX\<%= getOption("environmentVariable") %>\xyz\
and called <%= getOption("folderPath") %> in File collector activity. But, it threw error. Maybe the text value is not looking for the script and instead takes as only a text value.
Could you please help me achieve this.
Thank you,
Anoop