You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

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.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!