• RoyalRaz
  • NEWBIE
  • 5 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 4
    Replies
Challenge Not yet complete... here's what's wrong: 'Activate Temp Access Flow' lightning app page doesn't exist with the flow component called 'Accounts Temp Access'. Check the instructions.

Has anyone passed this challenge? I have passed all prior challenges. It seems pretty straightforward, I have my Lightning app page, activated it, added it to Sales...everything else is setup and has passed. 

User-added image
Hi All.
 I have a workflow which updates Field A to True and I have process Builder to execute when FieldA is true on Same Object .
 I have checked re-evaluate workflow checkbox but still process builder is not executig please let me know if i am doing anything wrong ?

Regards,
Rajesh

Hi All,

 

 I am getting this Error:line -1, column -1: Previous load of class failed: knowledgecontroller with my test case.

 

 About Knowledge Controller: It is a controller class in my test ORG. I dont know whether it is a package or Not but I din't find this controller name under Installed Packages in my ORG.

 

 Can any one have experienced this error please share your thoughts with us.

 

 From this blog I found this Info about this Error:


 This error may be because of ANY MANAGED PACKAGE INSTALLATION PROBLEM OR ANY FILE CORREPTUD .

 Just by writing test class in API 24 We can remove this error.

 

 My Predections why this Error:

 After sandbox refreshemnt I am getting errors under this Knowledge controller Name with Jigsaw Package. So my sysAdmin Uninstalled that package. Then onwards error comes with out that package reference just coming only with controller (Knowledge controller) name.

 

Am I correct ?

 

 I m not understanding what to do?

 

Any suggestions would be appreciated.....!!!

  • April 05, 2012
  • Like
  • 0

I have a very simple Batch class and I am trying to write a unit test to cover it but the execute method in this batch class is never executing. I'm stumped.

 

Batch Class:

global class ideaCleanBatch implements Database.Batchable<sObject>{

global Database.QueryLocator start(Database.BatchableContext bc){
//We want to process all Ideas
return Database.getQueryLocator('select Id from Idea');
}

global void execute(Database.BatchableContext bc, List<sObject> objects){
Set<Id> ideaIds = new Set<Id>();
for(sObject s : objects){
Idea i = (Idea)s;
ideaIds.add(i.Id);
}
//Send ideas to ideaClean for processing
ideaClean.recalcNumbers(ideaIds);
}

global void finish(Database.BatchableContext bc){
system.debug('All done.');
}
}

Test Method:

static testMethod void ideaBatchTest(){
List<Idea> ideas = new List<Idea>();
Id communityId = [select Id from Community limit 1].Id;
for(Integer i = 0; i < 200; i++){
ideas.add(new Idea(Title = 'myIdea' + i, CommunityId = communityId));
}
insert ideas;

Test.startTest();
ideaCleanBatch job = new ideaCleanBatch();
ID batchprocessid = Database.executeBatch(job);
Test.stopTest();
}

Coverage:

 

Thanks,

Jason

 

  • October 30, 2009
  • Like
  • 0