Skip to content

Utility functions

function knime.scripting.io.get_workflow_temp_dir() → str

Returns the local absolute path where temporary files for this workflow should be stored. Files created in this folder are not automatically deleted by KNIME.

By default, this folder is located in the operating system's temporary folder. In that case, the contents will be cleaned by the OS.

function knime.scripting.io.get_workflow_data_area_dir() → str

Returns the local absolute path to the current workflow's data area folder. This folder is meant to be part of the workflow, so its contents are included whenever the workflow is shared.