Groovy script with POST rest command creates a unexcepted filename in target
Summary:
I am running a groovy script which basically copies a file ( Outbox folder ) from environment-1 to Inbox folder of the target environment-2, ait then runs the import DLR in environment-2. The script was working correctly but now( I think this is related latest Groovy update) the file posted in the target environment has the encrypted password in the file name. This causes the import job to fail.
Example:
Source file : DIM-Entity_1335,dat
Target file: DIM-Entity_1335.dat<Encrypted Password>.dat
Not sure if the Grabfile() custom method is problem or something else.
Code:
I believe the issue is this with this line of code.
Tagged:
0