New actions to get and set webform submission data
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3373313. --> Reported by: [joelseguin](https://www.drupal.org/user/2886233) Related to !2 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>At the moment it is not possible to create an ECA model that can react on Webform submission update in order to modify a Webform field's value.</p> <p>This would be useful to allow for complex workflows. For example when a user updates a Webform, we could have complex conditional logic based on the value of one or multiple fields.</p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <p>Create a new model and add the event "Update content entity". Try overriding the value of any Webform field using "Entity:Set field value". An error is returned in the logs.</p> <p>Worth noting, there are no issues overriding default (out of the box) Webform fields such as user id (submitted by) with submitted values since they are accessible via tokens ([webform_submission:values:my_text_input_field_name].</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <h3 id="summary-ui-changes">User interface changes</h3> <h3 id="summary-api-changes">API changes</h3> <h3 id="summary-data-model-changes">Data model changes</h3>
issue