{"version":"2.1.337","anchor":"workflows-availability-claude-code-workflowsfalse-and-enab","canonical_anchor":"workflows-availability-claude-code-workflowsfalse-and-enab","heading":"CLAUDE_CODE_WORKFLOWS=false and enableWorkflows now turn workflows off first","tier":"notice","area":"Workflows","scope":"both","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337\/e\/workflows-availability-claude-code-workflowsfalse-and-enab","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337","markdown":"### `CLAUDE_CODE_WORKFLOWS=false` and `enableWorkflows` now turn workflows off first\n\nSetting CLAUDE_CODE_WORKFLOWS to false or enableWorkflows to false is now checked before anything else, and failed workflow runs get their own error\n\n**What**\n\nDynamic workflows are on by default for every plan except Pro. The checks that decide whether they are available have changed order:\n\n- `CLAUDE_CODE_WORKFLOWS`: setting this environment variable to false is now checked before any check that would turn workflows on.\n\n- `enableWorkflows`: this setting is now checked together with the environment variable, before the remote switch, which falls back to on when the server sends nothing.\n\nA failed workflow run now also has its own error, `run_workflow_failed`.\n\n**Why**\n\nWorkflows stay on by default, but the environment variable and the setting now act as a firm way to turn them off.\n\n- Flag `tengu_workflows_enabled`: On for this account, and not off by default (read for one account on one subscription tier against v2.1.337; this account: on, anonymous baseline: on, compiled default: on) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Area: Workflows\n- Names: `CLAUDE_CODE_WORKFLOWS`, `enableWorkflows`\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 2\/5\n- Scope: both\n- Heads-up: yes"}