You need to sign in to do that
Don't have an account?

How to create report to show average number of Lead Log-a-Calls per day by Rep?
Need to create a report to provide the average number of Log-a-Call task records per day by Assigned user.
Show 1 answer

"Delete failed. First exception on row...." Trailhead Data Manager Refresh failing
Hi everyone,
I'm working my way through some Trailhead courses for Einstein Analytics but when I try to fresh my data via my Trailhead Data Manager, I'm getting the following error:
Any ideas?
Thanks,
Joshua
I'm working my way through some Trailhead courses for Einstein Analytics but when I try to fresh my data via my Trailhead Data Manager, I'm getting the following error:
Thanks,
Joshua

Method does not exist or incorrect signature: void startTest() from the type test
@isTest
public class AddPrimaryContactTest {
@testSetup
static void setup() {
List<Account> accounts = new List<Account>();
// add 50 NY account
for (Integer i = 0; i < 50; i++) {
accounts.add(new Account(Name='NY'+i, billingstate='NY'));
}
// add 50 CA account
for (Integer j = 0; j < 50; j++) {
accounts.add(new Account(Name='CA'+j, billingstate='CA'));
}
insert accounts;
}
static testmethod void testQueueable(){
contact a=new contact(Lastname='mary', Firstname='rose');
Test.startTest();
AddPrimaryContact updater=new AddPrimaryContact(a, 'CA');
System.enqueueJob(updater);
Test.stopTest();
System.assertEquals(50, [SELECT count() FROM Contact WHERE Lastname='mary' AND Firstname='rose']) ;
}
}
public class AddPrimaryContactTest {
@testSetup
static void setup() {
List<Account> accounts = new List<Account>();
// add 50 NY account
for (Integer i = 0; i < 50; i++) {
accounts.add(new Account(Name='NY'+i, billingstate='NY'));
}
// add 50 CA account
for (Integer j = 0; j < 50; j++) {
accounts.add(new Account(Name='CA'+j, billingstate='CA'));
}
insert accounts;
}
static testmethod void testQueueable(){
contact a=new contact(Lastname='mary', Firstname='rose');
Test.startTest();
AddPrimaryContact updater=new AddPrimaryContact(a, 'CA');
System.enqueueJob(updater);
Test.stopTest();
System.assertEquals(50, [SELECT count() FROM Contact WHERE Lastname='mary' AND Firstname='rose']) ;
}
}

There was an unexpected error in your org which is preventing this assessment check from completing: System.DmlException: Insert failed. First exception on row 0; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, Billing State not Valid: []
Hi,
I did challange 2 on App Customization Specialist super Budge and I recieved this 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: Insert failed. First exception on row 0; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, Billing State not Valid: []
can anyone please help me solve it?
thanks
Liat
I did challange 2 on App Customization Specialist super Budge and I recieved this 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: Insert failed. First exception on row 0; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, Billing State not Valid: []
can anyone please help me solve it?
thanks
Liat

The 'Num of Volunteers Still Needed' field on the 'Volunteer Shift' record is not working as expected
Hi,
i'm receiving this error on callange 2, I tried every suggestion but nothing works. can anyone plese help?
i'm receiving this error on callange 2, I tried every suggestion but nothing works. can anyone plese help?

I am doing Business Administration Specialist Superbadge
I am doing Business Administration Specialist Superbadge and I believe I have all the prerequisites completed but I cannot access the Challenge Button

Lightning Experience Reports & Dashboards Specialist Step 6
Hi Everyone,
I've looked at the related questions and YouTube videos but I'm still getting the following error.
Challenge Not yet complete... here's what's wrong:
We can’t find the additional analysis by model being performed on the 'Temperature to kWh Research' report. Remember that you can organize data horizontally and vertically at the same time.




Can I please get a second or third pair of eyes on this and what I'm missing?
Thanks!
I've looked at the related questions and YouTube videos but I'm still getting the following error.
Challenge Not yet complete... here's what's wrong:
We can’t find the additional analysis by model being performed on the 'Temperature to kWh Research' report. Remember that you can organize data horizontally and vertically at the same time.
Can I please get a second or third pair of eyes on this and what I'm missing?
Thanks!

How to clear: The 'Num of Volunteers Still Needed' field on the 'Volunteer Shift' record is not working as expected. Formula used:
IF ((Desired_Num_of_Volunteers__c - Shifts_Taken__c) > 0, Desired_Num_of_Volunteers__c - Shifts_Taken__c, 0)