ksc_set_env
Use this command to set the correct environment context of an execution in cases where the workflow source and destination environments are overridden using the DEST_ENV and SOURCE_ENV parameters. Normally it is not necessary to use this command since it is called internally from other special commands. If it is used on a stand-alone basis, it must come after any ksc_ copy commands.
ksc_set_env parameters
| Parameter | Default token | Description |
|---|---|---|
| DEST_ENV_ID | [DEST_ENV. ENVIRONMENT_ID] | ID of the destination environment to be used instead of the destination environment on the current workflow step |
| SOURCE_ENV_ID | [SOURCE_ENV. ENVIRONMENT_ID] | ID of the source environment to be used instead of the source environment on the current workflow step |
| SOURCE_ENV | [SOURCE_ENV] | Name of the source environment to be used instead of the source environment on the current workflow step |
| DEST_ENV | [DEST_ENV] | Name of the destination environment to be used instead of the destination environment on the current workflow step |

