Soru

Zorluk: OrtaProcess Builder Capabilities

An organization requires an automated process when a custom object record, Project__c, is updated to a status of 'Cancelled'. The requirements specify: sending an email notification to the project manager, updating the status of all related child Project_Task__c records to 'Cancelled', and removing all associated temporary draft logs from the system. Which limitation of Process Builder must the Salesforce Administrator account for when designing this solution?

  1. Process Builder cannot natively delete records, so deleting the temporary draft logs requires calling a Flow or Apex action.Cevap
  2. B
    Process Builder cannot update child records directly, so an Apex trigger must be written to update the related Project_Task__c records.
  3. C
    Process Builder automatically executes DML operations inside loops when updating related records, leading to governor limit failures.
  4. D
    Process Builder can only execute immediate actions on standard objects, requiring Workflow Rules to process custom objects.

Cevap

Process Builder cannot natively delete records, so deleting the temporary draft logs requires calling a Flow or Apex action.
Process Builder provides native actions for updating related records, creating records, sending email alerts, and submitting records for approval. However, it lacks a native 'Delete Records' action. To delete records, an administrator must either invoke an autolaunched Flow or call Apex code from the process.

Adım Adım Çözüm

1
Analyze the requirements against native Process Builder actions
Process Builder natively supports sending email alerts, creating records, updating records (including parent and child records), posting to Chatter, submitting for approval, and invoking Flows/Apex.
Identify which requested actions are natively supported and which are unsupported.
2
Identify the unsupported native action requirement
Deleting records is not available as a standard built-in action in Process Builder.
Determines the design constraint for deleting the temporary draft logs.
3
Select the correct implementation approach
To perform record deletion from Process Builder, the administrator must launch an autolaunched Flow or call an Apex method.
Extends Process Builder functionality to meet all business requirements.

Anahtar Kavram

Process Builder Native Capabilities and Limitations
Bu soruyu puanla