function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
JaggyJaggy 

change default value of assign to in Task

Hi,

 

Presently, when you create a task on a record. It by default assigns task to the current logged in user. It seems logical too. But I want to assign it to owner of the record instead of logged in user by default. Is there any way of doing this?

 

 

Shruti KarnShruti Karn

You can pass te user id in the url as

&tsk1_lkid=00590000000qdph

where '00590000000qdph' is the user id.

 

To add this to the URL , you need to override Task's New button.

 

Thanks,

Shruti

Dan AskewDan Askew
Hello there. Is this the way to do it in lightning as well? I would also like to have the default value of the "assign to" be the owner of the object.