Skip to main content
Sachin RL (ISGN) ha fatto una domanda in #Sales Cloud

Hi Everyone,

 

I need to show the delete button only if it is Admin, Record Owner is Logged in User and Status of the record is cancelled.  It is on custom object so I am using Dynamic Form.

I have created a formula field on custom object to check Owner.Id equals User.Id.  Dynamic form filter is (1 or 2) AND 3.

 

The issue is, Delete is not showing for Record Owner when the status is cancelled.

 

Kindly suggest where I am making the mistake.

 

Thanks!

 @Amnon Kruvi@Admin Addicts@Admin Group, Corte Madera, US

12 risposte
  1. 25 set 2022, 09:21

    Hi @Sachin RL

     

    You have to use the below formula in your created formula field.

    AND

    (

    ISPICKVAL(Status__c, 'Cancelled'),

    OR

    (

    $User.Id = OwnerId,

    $Profile.Name = 'System Administrator'

    )

    )

0/9000