read path to file on server within python script node

Trying to create a workflow that will run on server where a file is generated, saved to server workspace and then read into a python script node for further processing.

tried a few solutions mentioned on other threads to convert path into absolute URL but no success so far.

Getting an error “Invalid file path”, i’m getting the path via an extract context properties and the file name i created. it currently looks something like “/tmp/workflowname+stringofnumbers/workflowname/filename”

Appreciate any help in getting this working!

Hi yc736,

could you provide a minimal workflow or Python code?

Best regards
Steffen