IntermediateSalesforce Developer project · about 8 hours

Apex trigger and test class

Write an Apex trigger with a handler class and tests.

The real-world brief

Opportunities must create follow-up tasks automatically when won.

What you will build

  • A trigger with a handler
  • Bulk-safe logic
  • Test classes with 85%+ coverage
  • Deployment to an org

Skills you will practise

ApexTriggersBulkificationUnit testing

Tools

ApexSalesforce CLIVS Code with Salesforce extensionsScratch org or sandbox

Project tasks

The detailed steps, checklists and trainer review open in the SOTT student portal for enrolled students.

1Trigger Steps in portal
2Bulk Steps in portal
3Test Steps in portal
4Deploy Steps in portal

How companies use Salesforce Developer

Real estate: No lost leads. Leads from the website sat in email inboxes. Web-to-lead, assignment rules and follow-up tasks in Salesforce. Every lead gets a call within an hour.

Manufacturing: Clear sales forecast. Managers built forecasts in spreadsheets. Opportunity stages, forecasts and dashboards in Salesforce. Forecasts are ready every Monday.

Services: Faster customer support. Support requests came by email and got lost. Email-to-case, queues and SLAs with Service Cloud. Response times dropped.

Questions

Can I add the Apex trigger and test class project to my resume?

Yes. Once your trainer approves it, list it under Projects with the tools you used, one line on the problem it solves and a link to your repository and demo video.

How long does this project take?

About 8 hours of hands-on work, and it fits best after week 3 of the Salesforce Developer course.

Where do I get the step-by-step tasks?

Enrolled students get every task with steps, "done when" checks, the submission form and a trainer review in the SOTT student portal.