답변 6개
If you want to use configuration only, then kindly follow the below steps.
Instead of using the process builder you could simply create a workflow on the task object. Use the evaluation criteria only when the record is created. and add a field update. use the below formula to update the parent Object field which you have created.
if(BEGINS(WhoId,'003'),'Contact',if(BEGINS(WhoId,'00Q'),'Lead',if(BEGINS( WhatId ,'001'),'Account',if(BEGINS( WhatId ,'006'),'Opportunity',''))))
This would work for the account, lead, contact and opportunities. You could easily extend the formula for other objects in scope.
Regards
Saurabh