Error in accessing JSON file from Inbox/Outbox Explorer using groovy
Unable to access a text file uploaded at "Inbox/Outbox Explorer" in an EPBCS application using groovy.
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 java.io.File(Inbox/json_file1.txt) "
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!