WhoID and WhatId is null when send email

I have created a trigger on task (before Insert) and just displaying the trigger.new value ,i.e, the task which is created . In the debug it is showing me that whoid and whatId is null but I am sending the email from "Send An Email" button on the activity history of contacts .

Any suggestions why is the WhoId and whatId are null in the task created.

Replay

Category: apex Time: 2016-07-29 Views: 3

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.148 (s). 12 q(s)