You'll find all the answers to each chapter summary quiz at the end of this book (in the Appendix). Try to answer the questions first without looking at the answers:
- Your manager wants you to build a solution that deletes all open tasks related to an opportunity when the Opportunity stage is set to Closed Won. In what ways could you build out this solution? Select two answers:
- Write an Apex trigger that fires when the Opportunity Stage updates to Closed Won, queries all the related Tasks that have an Open status for that opportunity and then deletes them.
- Create a Process Builder that performs a delete action on all the related Children of the Task type with Status Open, when the Opportunity Stage is set to Closed Won.
- Create a Process Builder that calls a Lightning flow whenever an Opportunity Stage reaches Closed Won. The flow then queries all Tasks related to the...