Salesforce Interview Questions and Answers | Freshers | 2 Years Experience

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ก.พ. 2025

ความคิดเห็น • 6

  • @trippy0899
    @trippy0899 2 ชั่วโมงที่ผ่านมา

    We Can't write a validation rule on record deletion , you can do this by using the apex trigger .

    • @TechJourneyWithAnkit
      @TechJourneyWithAnkit  ชั่วโมงที่ผ่านมา

      What about flows ? Can we do this, give a thought

  • @ShubhamGhodam
    @ShubhamGhodam 3 ชั่วโมงที่ผ่านมา

    No, validation rule do not work on the record deletion. Validation rule only runs whenever a record is created or updated, till now Salesforce does not provide validation rules on record deletion. To Provide record deletion we can use before delete trigger.

    • @TechJourneyWithAnkit
      @TechJourneyWithAnkit  ชั่วโมงที่ผ่านมา

      What about flows , can we do that. Give a thought on this

  • @SandeepKumar-n1r7s
    @SandeepKumar-n1r7s 2 ชั่วโมงที่ผ่านมา

    1 .User A able to Edit the Record. Read only permission override by Read/write.
    2. We Can't write validation on deletion of record. We can achieve with alternative methods Using Flow(before delete) throw custom error message, Using triggers (before delete event)
    3. By Using Dataloader,Reports & Workbench we can export data.

  • @ShubhamGhodam
    @ShubhamGhodam 54 นาทีที่ผ่านมา

    1st question Ans- No, user cannot edit the record. Salesforce follow most restricted access rulewhen multiple setting are applied. In this case, sharing settings override the profile permission, that's why User A not able to edit the record. Even if, User A profile has edit permission, then user can only edit the record that he own. Since the record is shared with read-only access. User A cannot edit it.