'What are the characters not allowed in Salesforce when creating trigger names?
I am trying to create a trigger in Salesforce wit the name:
trigger (uam) on Account (after update) {
}
but get the error:Unexpected token '('
Is there a regex expression or a list of characters not allowed ?
Solution 1:[1]
From the Metadata API guide on ApexTrigger:
The name can only contain characters, letters, and the underscore (_) character, must start with a letter, and cannot end with an underscore or contain two consecutive underscore characters.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Jeff Kranz |
