Skip to content

Thermondo Salesforce Coding Challenge

License

Notifications You must be signed in to change notification settings

thermondo/salesforce-coding-challenge

Repository files navigation

Salesforce Senior Coding Challenge

We appreciate you taking the time to participate and submit a coding challenge! 🥳

In the next step we would like you to implement a simple Invocable Apex Action to be used by your Admin colleagues for a Flow. They need to do HTTP callouts to a NPS Service, whenever an Order got fulfilled. Below you will find a list of tasks and optional bonus points required for completing the challenge.

🚀 This is a template repo, just use the green button to create your own copy and get started!

Invocable:

  • accepts the Order Record Ids as Input Parameter
  • queries the required records to get the Bill To E-Mail Address (Contact.Email) and OrderNumber (Order.OrderNumber)
  • sends the data to the NPS API
  • add a basic Flow, that executes your Action whenever an Order Status is changed to Fulfilled

The Mock NPS API:

⚠️ Must Haves:

  • use sfdx and git, commit all code and metadata needed (so we can test with a scratch org)
  • write good meaningful unit tests
  • properly separate concerns
  • make a list of limitations/possible problems

✨ Bonus Points:

  • layer your Code (use apex-common if you like)
  • use Inversion of Control to write true unit tests and not integration tests
  • make sure customers don't get duplicate emails
  • think of error handling and return them to the Flow for the Admins to handle

What if I don't finish?

Finishing these tasks should take about 2-3 hours, but we are all about 'quality > speed', so it's better to deliver a clean MVP and leave some TODOs open.

Try to produce something that is at least minimally functional. Part of the exercise is to see what you prioritize first when you have a limited amount of time. For any unfinished tasks, please do add TODO comments to your code with a short explanation. You will be given an opportunity later to go into more detail and explain how you would go about finishing those tasks.

About

Thermondo Salesforce Coding Challenge

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published