• thrinadh rao
  • NEWBIE
  • 0 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 2
    Replies
I am getting error code for the this code. Can anyone help me .

Error: Compile Error: Variable does not exist: Compitator_picklist__c at line 4 column 80

trigger GetCompitator on Account (after insert) {
Account Acc=[SELECT id,Name,Compitator_picklist__c From Account];
    List<Account> AccList = new List<Account>();
    Compitator__c Comp =[SELECT id,Name From Compitator__c Where Name=:AccList.Compitator_picklist__c];
    for (Account Acc : trigger.new){
         Acc.Compitator__c = Comp.Name ;
    }
}
 
Hi,
How do we give manual sharing for bulk records using data laoder , here i am fassing issued to give a manual sharing access .Can you please any one help me.
Hi Admins,

I have created one custome object and in that i made one matching rule called website matich rule (If website name is matche, rule has to fire).But the moment when i activate the rule i got the message from salesforce saying that matching rule failed. Can you please help me any one for this issue.

Thanks & Regards
Sunny
Please explain me how this matching criteria work in Duplicate Rule: 

  Contact: Email EXACT MatchBlank = FALSE) OR (Contact: MobilePhone EXACT MatchBlank = FALSE)

It is not preventing duplicate values in Email Address or MobilePhone .

How I can fix this rule to avoid duplicate values in email or mobilephone.

Thanks


 
The challenge as follows:

For purposes of local regulation new customers must be approved by the legal team.

When an Account has the value of 'Prospect' in the Type field, a user will click the 'Submit for Approval' button to launch an approval process. The process will only happen if Type is 'Prospect' and there are more than 500 employees. Upon entry of the process, Type will become 'Pending' and be locked. If approved, Type will be set to 'Customer' and be unlocked. If not approved, Type will be set back to 'Prospect' and will be unlocked.

The Account object's Type field must have the following picklist values: Prospect, Customer, Pending. Before creating the approval process, verify the values in your Account object setup
The approval process name must be 'Approve New Account'.
When user click 'Submit for Approval', the approval must be processed if the Type field is set to 'Prospect' and the value of Employees is greater than 500.
Upon entering the approval process, set the Type field to 'Pending' and lock the record.
Normally the approver would be someone else. In this instance, assign yourself to be the approver.
If approved, set the Type field to 'Customer' and unlock the record.
If not approved, set the Type field back to 'Prospect', and unlock the record.

I am getting error message: Challenge not yet complete... here's what's wrong: 
There was an unexpected error in your org which is preventing this assessment check from completing: System.DmlException: Process failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, missing required field: [nextApproverIds]: [nextApproverIds]

This are the steps I did:

Created approval process called Approve New Account
Criteria Account Type field equals Prospect and Account Employees field greater than 500
Final Approval Actions - Update Type field to Customer
Final Rejection Actions - Update Type field to Prospect

What am I missing that I received the error message?  Please help.

Thanks.