Extract 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 Hub/Server, the system user otherwise.
  • context.workflow.username User name of the authenticated user if executed on KNIME Hub/Server, the system user otherwise. If executed on Hub/Server, context.workflow.user returns a technical permanent id.
  • context.workflow.executor.version Version of the KNIME AP executing the workflow.
  • 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). If not available, returns the author name.
  • context.workflow.creation.date Date when the workflow was saved the first time.
  • context.workflow.last.time.modified Date when workflow was saved last. If not available, returns the creation date.
  • context.job.id The job's ID when run on KNIME Hub/Server, otherwise will be empty.
  • context.workflow.hub.item.id Item ID of the workflow in the Hub's repository. If the workflow is not on a Hub, this will be empty.
  • context.workflow.hub.space.id Item ID of the space containing the workflow in the Hub's repository. If the workflow is not on a Hub, this will be empty.
  • context.workflow.hub.space.path The mount-point-relative path to the root of the space containing the workflow. If the workflow is not on a Hub, this will be empty.
  • 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

Selected Properties
Properties that should be extracted from the workflow context.
Select All Properties
Extracts all available properties, may export additional properties in the future if any are added.

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.