[SalesForce] How create task for lead object through process builder

I have a doubt in create task for lead object through process builder. I don't know what is wrong here. Anyone please help me.

This is my entry criteria.
enter image description here

this is my create record action.enter image description here

Any help much appreciated.

Best Answer

To relate a task to a lead you have to use the WhoId (more info here: https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_erd_activities.htm ).

In the process builder you have to map the field "Name ID" not the "Related To ID".

enter image description here

Related Topic