Skip to content

TAG006: tag-change-script-paths

Tag change script without tag paths or with an invalid tag path

Code TAG006
Name tag-change-script-paths
Category Tags and gateway (TAG)
Default severity error
Enabled by default yes
Fix available no
ign-lint equivalent none

Checks the paths of gateway (and Vision client) tag change scripts: the list must exist and not be empty, and every entry must be a tag path the gateway can parse.

A tag change script without paths never runs; an unparsable path is dropped, so the script does not run for that tag.

{"attributes": {"paths": ["Line1/[default]Speed"], "changeTypes": ["value"]}}

Use instead:

{"attributes": {"paths": ["[default]Line1/Speed"], "changeTypes": ["value"]}}

Generated from the rule metadata by iglint generate-docs; iglint rule TAG006 prints the same page in the terminal. Source: docs/rules/TAG006.md.