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

Error in accessing JSON file from Inbox/Outbox Explorer using groovy

Received Response


Unable to access a text file uploaded at "Inbox/Outbox Explorer" in an EPBCS application using groovy.

Content (required):


I have a text file (.txt) which contains JSON array. It has been loaded to "Inbox/Outbox Explorer" as shown below.

In the groovy script, I am using "File()" to access this.

But getting the error

" Compile Error:

Expression [ConstructorCallExpression] is not allowed: new "

So, is there any alternative way to access JSON text file loaded at Inbox/Outbox explorer in EPBCS application?

This would be a great help if you guys can guide me!

Howdy, Stranger!

Log In

To view full details, sign in.


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