Search Results
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 |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Favorites |
infavorites:mine infavorites:1234 |
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 |
A trigger is a feature of the Salesforce platform consisting of Apex code that executes before or after DML operations.
1
vote
From the ID you are trying to give, it seems to be a User ID (starting with 005). You could assign owner as User/Queue, but not profile.
Just update as follows:
if(a.Doc_Status__C == 'Duplicate'){ …
answered Oct 25 '16 by San Tosh
1
vote
Here, consultantSet should be a list of IDs rather than list of Objects.
in the following line:
List<User> users = new List<User>([Select id, Name from user where Name =:consultantSet]);
try to use I …
answered Sep 14 '15 by San Tosh
0
votes
I dont think you could do that, unless you restrict users to enter text data only. However, you could read and split the data anyways. Assumption: Max characters are less than 200,000
var data = CKED …
answered Sep 1 '17 by San Tosh
1
vote
Yes Deifinitely.
Since the validation rules may impact DML Operations heavily. Hence suggested.
answered Sep 1 '17 by San Tosh