Create a Task for New Gardening Managers - Part 2
Not Started

Context from the Product Manager: The product team identified a gap in the requirements. Previously, tasks were only created with new garden records that had a manager assigned. However, it's possible to create a garden record without a manager, and later add a manager. In this scenario, a task wouldn't be created. This update addresses this issue.

User Story:
As a GreenGuardian CRM Director, I want the system to automatically create a task for the newly assigned manager when a garden record, that initially was without a manager, has one assigned. This ensures the new manager is quickly informed and can immediately begin sourcing plants for the garden.

Acceptance Criteria:

  1. When a garden record's manager changes from blank to a non-blank value, a Task record should be created and assigned it to the manager
  2. Just like before, the subject of the task should be "Acquire Plants" and it should be linked to the garden record

Example Scenario:

  • The Mapleshade Garden has no manager. It's updated and assigned a manager. The system should automatically create a new "Acquire Plants" task for the new manager.