【Flow】| 【Element】| Delete Records Explained in 2 Minutes

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ส.ค. 2024
  • Visit our blog for more Flow knowledge:
    salesforce-flowsome.com/
    【Related Posts】
    Delete Records: salesforce-flowsome.com/flow-...
    #salesforce #flow #salesforceFlowsome #deleteRecords #element

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

  • @frfr959595
    @frfr959595 2 ปีที่แล้ว +1

    Hi there, can you please clarify? if option 1 is chosen (Use record Variable), we only have to add the Delete record element. If option 2 is chosen (specify conditions), we have to add the Get record + Delete record Element?

    • @salesforceflowsome
      @salesforceflowsome  2 ปีที่แล้ว

      Hi Joe, I mean if option 2 is chosen, the system will use 1 SOQL to query the records and then use 1 DML to delete the records
      So this will be the equivalent of using 1 Get Records + 1 Delete Records in terms of the operations in the backend. Hope this explains!

  • @feidoy
    @feidoy 2 ปีที่แล้ว +1

    Hi Melody, So is it preferred to do a get record element combined with a delete element, instead of using the option within the delete record to query it?

    • @salesforceflowsome
      @salesforceflowsome  2 ปีที่แล้ว

      Hello! I would say try to combine the two if possible (when they are right next to each other) because even though they will both use 1 SOQL+1 DML, you get to save 1 element. Not that it makes a big difference, but it's a good practice to always use as less elements as possible (due to the 2000 elements per interview limit)