Which code segment can be used to control when the dowork() method is - ProProfs Discuss
Topics
Products
Follow Us:

Which code segment can be used to control when the dowork() method is called?



A. For (Trigger.isRunning t: Trigger.new){dowork();}
B. If(Trigger.isRunning)dowork();
C. For (Trigger.isInsert t: Trigger.new){dowork();}
D. If(Trigger.isInsert)dowork();

This question is part of Salesforce Platform Developer 1
Asked by Wyatt Williams, Last updated: Jan 17, 2020

+ Answer
Request

1 Answer

Wyatt Williams

Wyatt Williams

Answered Apr 11, 2018

If(Trigger.isInsert) dowork();

####
 

Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer

Email Sent
We have sent an email to your address "" with instructions to reset your password.