How to access file uploaded via form

The solution is:

InputStream is = ContentEngines.getDefaultContentEngine().getContentService().getContentItemData(execution.getVariable(‘uploadedfile’));

1 Like