• Jairo Straga 6
  • NEWBIE
  • 5 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 6
    Replies

Hi people, I'm a Salesforce admin without code knowledge but I have to make a Trigger that I think is really basic, but I still can't do it.

I need to have a mirror Record Type text field that has to be filled before the matching rules are executed. With Process Builder I can't do that so I need a Trigger.

I wrote this with some videos that I watched, please don't laugh at me haha:

trigger RecordType on Account (before insert) {
    for(Account a: Trigger.New) {
    if(a.RecordTypeId = "012150000013uJx") {a.RecordType__c = 'Advertiser';}
    if(a.RecordTypeId = "012150000013uJs") {a.RecordType__c = 'Agencia';}
    if(a.RecordTypeId != "012150000013uJs" && a.RecordTypeId != "012150000013uJx" ) {a.RecordType__c = ' ';}
}

I'm recieving the following error message: Error de compilación: Unrecognized symbol '"', which is not a valid Apex identifier. en la línea 3 columna 25



 

I was doing the Business Administration Specialist Superbadge and I got the following error when checking the 3rd step. 

Please help!

Challenge Not yet complete... here's what's wrong: 
There was an unexpected error while verifying this challenge. Usually this is due to some pre-existing configuration or code in the challenge Org. We recommend using a new Developer Edition (DE) to check this challenge. If you're using a new DE and seeing this error, please post to the developer forums and reference error id: NOGBWYPK
 

Hi people, I'm a Salesforce admin without code knowledge but I have to make a Trigger that I think is really basic, but I still can't do it.

I need to have a mirror Record Type text field that has to be filled before the matching rules are executed. With Process Builder I can't do that so I need a Trigger.

I wrote this with some videos that I watched, please don't laugh at me haha:

trigger RecordType on Account (before insert) {
    for(Account a: Trigger.New) {
    if(a.RecordTypeId = "012150000013uJx") {a.RecordType__c = 'Advertiser';}
    if(a.RecordTypeId = "012150000013uJs") {a.RecordType__c = 'Agencia';}
    if(a.RecordTypeId != "012150000013uJs" && a.RecordTypeId != "012150000013uJx" ) {a.RecordType__c = ' ';}
}

I'm recieving the following error message: Error de compilación: Unrecognized symbol '"', which is not a valid Apex identifier. en la línea 3 columna 25



 

I was doing the Business Administration Specialist Superbadge and I got the following error when checking the 3rd step. 

Please help!

Challenge Not yet complete... here's what's wrong: 
There was an unexpected error while verifying this challenge. Usually this is due to some pre-existing configuration or code in the challenge Org. We recommend using a new Developer Edition (DE) to check this challenge. If you're using a new DE and seeing this error, please post to the developer forums and reference error id: NOGBWYPK
 
Hi All, 

Im trying to do the second challenge in App Customization  but am getting some Super badge am getting the error "Challenge Not yet complete... here's what's wrong:  Couldn’t find the 'Volunteer Shift' relationship field or it is not configured correctly."
Please, anyone, can anyone tell me which relationships should be created between these objects? I have created a master-detail relationship between them. 
User-added image

Also, am not clear with this "Shifts with cascading delete and the option of roll-up summary fields." 

Thank you and any help is appreciated.
Thank you in advance. 
Hello,
I tried many times... but receive the same error message : "Challenge Not yet complete... here's what's wrong: 
Formula in custom field 'Account Annual Revenue' is not correct. Check the instructions."
I followed all instructions & get the right results. It's a basic & very simple formula.
Do someone else encounter the same issue ? Any solution ?
Showig error " Challenge Not yet complete... here's what's wrong:
An external object with the API name Phone_Plan__x does not exist" I checked many time Phone_Plan__x already exist.