How to Create a Task under Account?

When the Account is Created, create a Task Record under that Account and assign the Task to the Account Owner. Use the below information

Table of Contents

Introduction to scenario

→ Apex Trigger 4

When the Account is Created, create a Task Record under that Account and assign the Task to the Account Owner. Use the below information

  • Subject – Created from Apex Trigger
  • Comments – Created from Apex Trigger
  • Due Date – Todays Date + 7
  • Status – Not Started
  • Priority – High
  • Related To (What) – Account Id
  • Assigned To (OwnerId) – Account Owner Id

Hands on


					
				

Dispatcher Class


					
				

Handler Class


					
				

Outcome


Resources


Vaibhav Kumar
Vaibhav Kumar
Articles: 6

Newsletter Updates

Enter your email address below and subscribe to our newsletter

Leave a Reply

Your email address will not be published. Required fields are marked *

Discover more from Panther Schools

Subscribe now to keep reading and get access to the full archive.

Continue reading