Skip to main content
added 1 character in body; edited title
Source Link
leymannx
  • 18.8k
  • 6
  • 72
  • 126

Rules - how Rule to create an identical entity to the node created then delete node

I have a content type called "article" and an entity type called "article 2", they both have identical fields.

When I create aan article node and save it I want a rule to fire that then basically creates an exact copy of this as an entity, article 2. then deleted the original node after that. So I am left with a copy of the node as an entity - all fields etc, and no node.

I can get rules to create an entity quite easily by using "Create a new entity" but I can't seem to map the fields from node to entity?

Rules - how to create an identical entity to the node created then delete node

I have a content type called "article" and an entity type called "article 2", they both have identical fields.

When I create a article node and save it I want a rule to fire that then basically creates an exact copy of this as an entity, article 2. then deleted the original node after that. So I am left with a copy of the node as an entity - all fields etc, and no node.

I can get rules to create an entity quite easily by using "Create a new entity" but I can't seem to map the fields from node to entity?

Rule to create an identical entity to the node created then delete node

I have a content type called "article" and an entity type called "article 2", they both have identical fields.

When I create an article node and save it I want a rule to fire that then basically creates an exact copy of this as an entity, article 2. then deleted the original node after that. So I am left with a copy of the node as an entity - all fields etc, and no node.

I can get rules to create an entity quite easily by using "Create a new entity" but I can't seem to map the fields from node to entity?

Source Link

Rules - how to create an identical entity to the node created then delete node

I have a content type called "article" and an entity type called "article 2", they both have identical fields.

When I create a article node and save it I want a rule to fire that then basically creates an exact copy of this as an entity, article 2. then deleted the original node after that. So I am left with a copy of the node as an entity - all fields etc, and no node.

I can get rules to create an entity quite easily by using "Create a new entity" but I can't seem to map the fields from node to entity?