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

User Story:
As an incoming Gardening Manager, I want the system to automatically generate a task for me when I am designated as the manager of a newly created garden record, so I am promptly informed and can take necessary action to acquire plants for the garden.

Acceptance Criteria:

  1. When a new garden record is created and a manager is assigned, create a new Task record and assign it to the manager
  2. The subject of the task should be "Acquire Plants"
  3. The task should be linked to the garden record
  • The task should only be created when a garden record is first created AND the manager field is populated

Field Mapping

Task FieldValue
WhatIdCAMPX__Garden__c's Id
OwnerIdCAMPX__Garden__c's CAMPX__Manager__c
SubjectAcquire Plants



Example:

  • If a garden record is created with a manager, a task should be created
  • If a garden record is created without a manager, a task should not be created
  • If a garden record is updated with a manager, a task should not be created (we'll do that next)