+ Start a Discussion
sra gowthamsra gowtham 

Hai all,

if  users "Complete" a task(Status) and do not update the Call Result field then display error message like "Call Result required when status marked as Completed.
Validation Rule and Trigger code.
Niraj Kr SinghNiraj Kr Singh
Hi sra,

Please try this:

IF(
AND(IF( !ISPICKVAL(PRIORVALUE(Status),"Completed"),true,false),
IF(ISPICKVAL(Status,"Completed"),true,false)
),
IF( CallDisposition = null, true, false),
false
)


Error Message : Call Result required when status marked as Completed

If it will work, mark as ur ans to help other.

Thanks
Niraj