I have a content type named Run that have two entity reference
- entity reference field named participants which reference user.
- entity reference field named examinations which reference content type Examination.
I want to use Rules to create multiple nodes of content type "Results" for each user "participant" referenced in "Run". the number of Results nodes equals the number of examination.
So I created a rule that fires when the user views the node of type run and I made a loop through examination and I created results node. This runs OK for the first time. But when the user views the node again the nodes are duplicated n times as per number of node views.
Any suggestions how I can make the rule run once per user? Or any other work around.