Document how to use Tokens and YAML together

Issue information

From user: nojj

Related to !144 (merged)

Contribution record

Fork management

I have a model, that is not working anymore. the eca_token_load_entity action seems to be the problem:

 Activity_183hnnt:
    plugin: eca_token_load_entity
    label: 'Load node'
    configuration:
      token_name: mynode
      from: properties
      entity_type: node
      entity_id: ''
      revision_id: ''
      properties: 'field_sid: [orderdata:sid]'
      langcode: _interface
      latest_revision: 'no'
      unchanged: 'no'
      object: ''

the eca logfiles show following warning:

Type	eca
Date Thursday, May 5, 2022 - 09:15
User admin
Location https://eca-test.ddev.site/admin/commerce/orders/90/payments/91/operation/receive
Referrer https://eca-test.ddev.site/admin/commerce/orders/90/payments/91/operation/receive
Message Access denied to noname (Activity_183hnnt) from ECA Payment publishes ordered node new without custom module (process_dnqpvqs) for event Drupal\state_machine\Event\WorkflowTransitionEvent.
Severity Warning
Edited by drupalbot
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information