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
chandu kumarchandu kumar 

if task is on case object . than addresse field should be unique

Tolga SunarTolga Sunar
  1. Open a unique background text field on Task object.
  2. Create a workflow / process that is defined on Task object, select "only when record is created"
  3. Set LEFT([Task].WhatId ,3)="500" as your criteria. 500 Here is the object ID of Case object.
  4. Update the background field with the value of address field as an immediate action. Any duplicate address value should throw out an error and prevent the creation of task record.