function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
How to print the values using trigger.new
Hi,
For your requirement you can make use of system.debug().
See the below code snippet as reference
trigger printvalues on Contact (after insert)
{
for(Contact con: trigger.new)
system.debug('________contact on trigger new is=_____________'+con);
}
you can see it's result in Debug log (Administration Setup -> Monitoring ->Debug Logs).
Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.
Hi,
For your requirement you can make use of system.debug().
See the below code snippet as reference
trigger printvalues on Contact (after insert)
{
for(Contact con: trigger.new)
{
system.debug('________contact on trigger new is=_____________'+con);
}
}
you can see it's result in Debug log (Administration Setup -> Monitoring ->Debug Logs).
Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.