Skip to content

No Global Variables

Severity:

Description

Global variables should not be used so that when the workflows are shared across SecureX tenants, errors are not encountered during the import.

Error Message

Global variables should not be used in workflows or atomic actions meant to be shared. Instead, use a "Set Variables" activity to copy global variables to local variables within the workflow. Before exporting, simply remove the global variables so the other user can select their own. See here for more details: https://CiscoAandI.github.io/flowlint/rules/No-Global-Variables

Rule Definition
field: variables
function: length
functionOptions:
  max: 0