Hi,

I have a drupal site with content type as people, in that content type i have one field name as email. What I want is, Whenever the new user registered, I want to check the user email with email field of people content type, if this two field matches set this user as a author to that content.

I don't know how to execute this process...

Can anyone give me a solution.?

Comments

iswariya_ravi created an issue. See original summary.

TR’s picture

Version: 7.x-2.9 » 7.x-2.x-dev
Category: Task » Support request
Priority: Critical » Normal
TR’s picture

Status: Active » Fixed

Use the entity_query action to find the "person" entity, then use data_set to set the author of that entity if it is found.

TR’s picture

Status: Fixed » Closed (fixed)