Skip to main content

Task System - Environment - List Variables​

The Environment - List variables Task writes all environment variables of the VisualCron Server process, of a user or of the VisualCron Server computer to the Task output.

List variables Task settings, with the Credentials and Variable scope fields

The Main settings, Flow, On error, Conditions and TimeOut tabs are the same for every Task; see Job - Tasks.

The Task works on the VisualCron Server computer only.

Environment - List variables tab​

  • Credentials: the Credential the Task runs as. Required for the "User" scope, where the Task lists the variables of that Credential's user. This needs the Credential's default logon settings (local logon, with the profile loaded). Without a Credential, the Task runs as the account of the VisualCron Server service. Select a Credential, or click the Settings icon to open Manage credentials; see Global - Credentials

  • Variable scope: "Process" (default), "User" or "Machine"

    • "Process": the environment of the VisualCron Server process: the values it had when the VisualCron Server started, plus changes made since by Tasks in the "Process" scope
    • "User": the user variables of the Credential's user, stored in that user's Environment registry key (HKEY_CURRENT_USER\Environment for a logged-on user)
    • "Machine": the system variables of the computer, stored in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment

Output and errors​

The output has one line per variable, in the form NAME=value.