Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 28103

Questions relating to Apex, the native programming language for the Force.com platform. Use it for general questions on syntax, errors, constructs, and rules of use. Most questions should include a code *excerpt* to help answerers understand specifically what has gone wrong or why you need help.

0 votes
1 answer
68 views

Attempt to de-reference a null object

Apex trigger leadOwnerAssignEmailTrigger caused an unexpected exception, contact your administrator: leadOwnerAssignEmailTrigger: execution of BeforeInsert caused by: System.NullPointerException: …
dotnetdev's user avatar
0 votes
1 answer
93 views

Changing lead owner to existing Account Owner

I have formula field called "domain__c" on Lead object which comes from the email field. I also have a domain field on Account object. I want to change the lead owner to the person who owns the exist …
dotnetdev's user avatar
2 votes
1 answer
382 views

Lead assignment trigger not firing on Pardot Leads only

I have a trigger that assigns incoming leads to the Account owner if an account already exists. It looks for a matching email domain field. This trigger works fine if i or any other user creates acco …
dotnetdev's user avatar
5 votes
1 answer
332 views

Self-Registration Alert Administrator Email Template

I created a trigger to make new self reg users inActive after registering. Then created a workflow to email the Admin when a user self registered and to verify and activate that user. In my email tem …
dotnetdev's user avatar
1 vote
2 answers
878 views

Trying to assign lead to existing account owner

I am stuck on this trigger.. i am trying to match Leads with existing accounts using a custom "domain" field. If an account exists with that same domain then i want to assign the incoming lead to the …
dotnetdev's user avatar