How should the deve...
 
Notifications
Clear all

How should the developer handle the recursive trigger?

1 Posts
1 Users
0 Likes
172 Views
 Tuan
(@shippertuan)
Noble Member
Joined: 2 years ago
Posts: 713
Topic starter  

A developer has written an After Update trigger on Account. A workflow rule and field update cause the trigger to repeatedly update the Account records.

How should the developer handle the recursive trigger?

  • A . Deactivate the trigger and move the logic into a Process or Flow
  • B . Deactivate the workflow rule to prevent the field update from executing
  • C . Use a static variable to prevent the trigger from executing more than once
  • D . Use a global variable to prevent the trigger from executing more than once

Show Answer Hide Answer

Suggested Answer: C

   
Quote

Latest Salesforce PDII Dumps Valid Version

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Share: