Extract Context Properties

This Node Is Deprecated — This version of the node has been replaced with a new and improved version. The old version is kept for backwards-compatibility, but for all new workflows we suggest to use the version linked below.
Go to Suggested ReplacementExtract Context Properties

Reads workflow context related properties, including workflow name and the logged in user. The fields are extracted using the KNIME workflow context.
The properties are:

  • context.workflow.name The name of the workflow.
  • context.workflow.path The mount-point-relative path to the workflow.
  • context.workflow.absolute-path The absolute path in the filesystem to the workflow.
  • context.workflow.user User ID of the authenticated user if executed on KNIME Server/Hub, the system user otherwise.
  • context.workflow.temp.location The location for temporary files of the workflow job.
  • context.workflow.author.name Name of the workflow author (creator).
  • context.workflow.last.editor.name Name of the person who edited the workflow last (on last save).
  • context.workflow.creation.date Date when the workflow was saved the first time.
  • context.workflow.last.time.modified Date when workflow was saved last.
  • context.job.id The job's ID when run on Server/Hub, otherwise will be empty.
  • context.workflow.username User name of the authenticated user if executed on KNIME Server/Hub, the system user otherwise.
  • context.workflow.executor.version Version of the KNIME AP executing the workflow.
  • context.workflow.hub.item.id Item ID of the workflow in the Hub's repository.
  • context.workflow.hub.space.id Item ID of the space containing the workflow in the Hub's repository.
  • context.workflow.hub.space.path The mount-point-relative path to the root of the space containing the workflow.
  • context.workflow.hub.api.base-url The base URL of the Hub's API when stored on Hub, otherwise will be empty.
  • context.job.account.id ID of the account that owns the job when run on Hub, otherwise will be empty.
  • context.job.account.name Name of the account that owns the job when run on Hub, otherwise will be empty.
More properties may be added in the future.

Options

Extract all available properties
If selected all available context properties are extracted.

Input Ports

This node has no input ports

Output Ports

Icon
Context properties as flow variables.

Views

This node has no views

Workflows

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.