What is the value of the number field of the object that is obtained - ProProfs Discuss
Topics
Products
Follow Us:

What is the value of the number field of the object that is obtained from Trigger.old? The initial value for a number field on a record is 1. A user updated the value of the number field to 10. This action invokes a workflow field update, which changes the value of the number field to 11. After the workflow field update, an update trigger fires. 

This question is part of Salesforce Platform Developer 1
Asked by Cmduquer, Last updated: Jan 15, 2020

+ Answer
Request

2 Answers

Pankaj

Pankaj

Answered Jan 16, 2019

Ans. 1

Trigger.old contains a version of the objects before the specific update that fired the trigger.

However, there is an exception. When a record is updated and subsequently triggers a workflow rule field update, Trigger.old in the last update trigger won’t contain the version of the object immediately prior to the workflow update, but the object before the initial update was made.

 

cmduquer

Cmduquer

Answered Oct 26, 2018

1

####
 

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.