'Relative to' 'Current workflow data area' in Agent Workflow on KBH

Dear All,

I would like to use the ‘Relative to’ ‘Current worflow data area’ setting inside a Tool workflow of an Agent Workflow (KAP 5.8.2 and KBH 5.8.2).

In the Tool workflow, files are transfered from a sharepoint, stored into a temp folder in the Tool workflows data folder and processed by a python script. For the temp folder creation, I am using the Create Temp Folder node with the setting ‘Relative to’ ‘Current workflow data area’ and as folder ‘input’.

If I execute the Tool workflow outside of the Agent, the file is correctly saved (Toolworkflow/data/input/knimetemp-XXXX/file) and accessible by the python script via the path ./data/input/knimetemp-XXXX/file.

If I execute the Agent workflow, I would expect that the input folder is created inside the data folder of the Agent workflow as the Tool workflow is only executed virtually. When I double check I do not find the input folder, the knimetemp folder nor the file inside the Agent workflow nor the Tool workflow. The Agent provides me only with an error message that downstream of the python script nodes could not be executed as the output of the python script are missing. (Same behaviour in local KAP 5.8.2 and KBH 5.8.2)

I also tried ‘Mountpoint’ ‘knime-business-hub’ and ‘Mountpoint’ ‘knime-temp-space’ in the Create Temp Folder node as well as connecting it via the Knime Hub Authenticator and Space Connector node to the Hub Space (HubSpace/knimetemp-XXXX/file). In all my attempts, the python script (incl. knio for file path) of the Tool executed by the Agent was not able to find the transfered file on the KBH.

I do not understand, how the ‘Relative to’ ‘Current workflow data area’ / ‘Current workflow’ works for Agent workflows (both locally and on the Hub with its Executor & Jobs)?

Also what needs to be done to get the absolute path (e.g. of a file stored in a temp folder under the Hub Space) resolved inside a python script of a Tool workflow executed by an Agent workflow?

Is there an option, to visualize virtually Tool workflows for bug fixing?

Could anyone please help?

Thank you in advance,

Armin