E-Mailaddress in Worfklow

Hello

I want to create a workflow which creates a new Target for every lead but the value for the e-mailaddress is missing. I can match first and last name, but no e-mail. Any idea?

After some digging I found out it’s not supposed to be there since it’s a relationship. Which relationship do I need to create to transfer the mail field from the lead to the target?

I don’t know the answer.

If you are willing to try some simple PHP, you could make an after_save logic_hook on the Leads module.

It would take effect right away, so it’s more immediately than a workflow, which runs only every minute. I don’t know if this small delay has any relevance to you.

https://suitecrm.com/wiki/index.php/Developer_Guide#Logic_Hooks

That’s a bit above my skills. Thanks for the suggestion though.