Skip to content

Latest commit

 

History

History
7 lines (6 loc) · 578 Bytes

README.md

File metadata and controls

7 lines (6 loc) · 578 Bytes

Programming exercise for Temporal SE Interview. Instructions as follows:

A rewards program has three different levels: basic, gold, and platinum.

  • Upon joining the program, a new customer is automatically assigned to the basic level.
  • Gold level requires 500 points, and the platinum level requires 1000 points.
  • Customers earn points through various activities. Create a workflow that represents the customer’s reward program as an entity, from onboarding, gaining points, and leaving the reward program. Provide a method for retrieving the current customer’s level.