Multiple contexts and context commands

The term context refers to the set of parameters in the config.yaml file that is used to establish an environment to run HCL Workload Automation. You can create multiple contexts in the config.yaml file to manage the workload. This helps you to utilize the resources in a more efficient manner.

Overview

You can create multiple contexts with different configuration settings using Orchestration CLI. This feature allows you to manage various workflow scenarios by changing the context. You can use context commands to manage or switch between multiple contexts and to do actions in a specific context. The default context is the one that you create initially until you change it using the commands. Unless you explicitly specify the context in the command, all commands are run using the default context. To manage different contexts, you can use the following set of commands in Orchestration CLI:
Important: To manage the context parameters more efficiently when you have multiple config.yaml files available in your computer, see Managing multiple config.yaml files.
Restriction: Do not enclose a command and its parameters in double quotes or single quotes. The parser interprets the content inside the quotes as a single command name, and it displays an error message.