When Field Widget worker is selected, Direct also fires (?)
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3534827. --> Reported by: [bisonbleu](https://www.drupal.org/user/549974) Related to !757 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>While testing the Field Widget Action that calls the AI Automator Type: LLM:Taxonomy on an article Body field, I got it working, more or less. The multiple UIs and duplicate settings e.g.&laquo;Enable AI Automator&raquo; in both Manage Field and Manage Form Display is confusing.</p> <p>But most importantly it appears that:</p> <ul> <li>when the action button is NOT used and the node is saved, tags are created on Save, which is not wanted;</li> <li>when the action button is used and the node is saved, tags appear to be also created on Save, that should not happen;</li> </ul> <h4 id="summary-steps-reproduce">Steps to reproduce (required for bugs, but not feature requests)</h4> <ol> <li>On the field that you want to fill out, click edit under manage fields.</li> <li>Check the Enable Automators</li> <li>Choose the LLM Taxonomy as Automator Type</li> <li>Fill in a prompt, how it should generate/pick tags and based on what.</li> <li>Under advanced and processor choose Field Widget</li> <li>Save &amp; test</li> </ol> <p>As part of another <a href="https://www.drupal.org/project/ai/issues/3534816">issue</a>, I created a <strong>Boolean</strong> FieldWidgetAction. After setup, when I edit a node and Save without clicking the action button, the Direct worker is also triggered and the action is performed.</p> > Related issue: [Issue #3534445](https://www.drupal.org/node/3534445)
issue