Is it possible to create a Group each time a Commerce Store is created using Rules?

Created on 11 April 2024, 8 months ago

Problem/Motivation

Have tried the very basics (see exported Rule below) and unfortunately got nowhere. Rules Evaluation log doesn't seem to contain any details. Is there something missing?

uuid: e305bca8-a512-42b9-93e8-b310878f9238
langcode: en
status: true
dependencies: {  }
id: commerce_group_integration
label: 'Commerce Group Integration'
events:
  -
    event_name: 'rules_entity_insert:commerce_store'
description: ''
tags: {  }
config_version: '3'
expression:
  id: rules_rule
  uuid: d1173771-5a95-4331-be29-72e711553843
  weight: 0
  conditions:
    id: rules_and
    uuid: 5ba70bc5-ec46-4f58-b23e-c2316845f50b
    weight: 0
    conditions: {  }
  actions:
    id: rules_action_set
    uuid: 9204b00c-b6f6-472d-9713-0de4b759cd85
    weight: 0
    actions:
      -
        id: rules_action
        uuid: 9161a009-8184-4977-9597-af14764579a0
        weight: 0
        action_id: 'rules_entity_create:group'
        context_values:
          type: society
        context_mapping:
          label: commerce_store.name.value
        context_processors:
          type:
            rules_tokens: {  }
        provides_mapping: {  }
πŸ’¬ Support request
Status

Active

Version

3.2

Component

Documentation

Created by

πŸ‡ΈπŸ‡°Slovakia yurg

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024