• aMackDawg121930
  • NEWBIE
  • 0 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 1
    Likes Given
  • 2
    Questions
  • 3
    Replies
Hi there, I setup a My Domain for my Developer Org per the instructions from this Lightning Trailhead and now I am getting repeatedly logged out.

Anyone have any idea why or how to fix? This is obviously a catastrophic issue for using the Developer Org
I created a new class 'RemindOpptyOwners' per the Trailhead tutorial on Apex Scheduler, but the code will not compile, because
 
'Variable does not exist: TaskUtils'
Here is the code I have:
 
global class RemindOpptyOwners implements Schedulable {

    global void execute(SchedulableContext ctx) {

        List<Opportunity> opptys = [SELECT Id, Name, OwnerId, CloseDate
            FROM Opportunity
            WHERE IsClosed = False AND
            CloseDate < TODAY];
        // Create a task for each opportunity in the list
        TaskUtils.remindOwners(opptys);
    }
}

I transcribed this code at first, but then copied and pasted directly into the Dev console and got the same error. Why is TaskUtils not being recognized?

API Version: 37.0
 
Hi there, I setup a My Domain for my Developer Org per the instructions from this Lightning Trailhead and now I am getting repeatedly logged out.

Anyone have any idea why or how to fix? This is obviously a catastrophic issue for using the Developer Org
I created a new class 'RemindOpptyOwners' per the Trailhead tutorial on Apex Scheduler, but the code will not compile, because
 
'Variable does not exist: TaskUtils'
Here is the code I have:
 
global class RemindOpptyOwners implements Schedulable {

    global void execute(SchedulableContext ctx) {

        List<Opportunity> opptys = [SELECT Id, Name, OwnerId, CloseDate
            FROM Opportunity
            WHERE IsClosed = False AND
            CloseDate < TODAY];
        // Create a task for each opportunity in the list
        TaskUtils.remindOwners(opptys);
    }
}

I transcribed this code at first, but then copied and pasted directly into the Dev console and got the same error. Why is TaskUtils not being recognized?

API Version: 37.0
 
Hi,

After creating pushtopic, how can I update the query?
ex: I need to add one more field to my query
Any help would be appreciated