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:
- When a new garden record is created and a manager is assigned, create a new Task record and assign it to the manager
- The subject of the task should be "Acquire Plants"
- 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 Field | Value |
---|---|
WhatId | CAMPX__Garden__c's Id |
OwnerId | CAMPX__Garden__c's CAMPX__Manager__c |
Subject | Acquire 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)