The Welkin Suite Forum

Create New Scheduled / Does not display schedule classes



Create New Scheduled / Does not display schedule classes

  • Please log in to reply

#1
windows version welkinsuite

bvanburen

    Posted 18 May 2018 and edited 30 May 2018

    When you click on new to create a new scheduled jobs. the scheduled jobs do not apped for selection,  

    Is this supposed to work in version r18 1.19.9.4

    here is the class defintion. 

    public class BatchSchedule implements System.Schedulable,Database.Batchable<sObject>, Database.Stateful, Database.AllowsCallouts {


    Works if i schedule thru the SF UI  or anonymous 


    works

    System.schedule('batchschedule', '22 35 1/12 * * ? 2018', new BatchSchedule());


    Thanks 

    Bruce Van Buren



    2 replies to this topic

    #2

    kate.dulko

      Posted 22 May 2018

      Hi Bruce,


      Thank you for your post.


      May I please clarify with you if you can create a new scheduled job? 
      If you don't get some elements for selection during a creation of a new scheduled job, please let me know what exactly are these elements? Do you get the necessary class in the 'Apex Class' drop-down when you create a new job?


      If you can create a new scheduled job, however, it doesn't appear in the list, can you please check if your newly created scheduled job will be present in the list after you click 'Refresh' in the toolbar of the panel?


      Looking forward to your response.

      Thank you,

      Kate




      Kate Dulko
      Customer Relations

      The Welkin Suite

      twitter: @KateDulko
      skype id: d_katerina
      e-mail: kate.dulko@welkinsuite.com

       

        


      #3

      kate.dulko

        Posted 30 May 2018

        Hi Bruce,


        Thank you for your response via email.

        I'll leave my answer here so that other users could find a reason for the issue also.


        A reason is that the IDE doesn't properly parse a schedulable class when this class implements 'System.Schedulable' instead of 'Schedulable'.

        We will work to solve this case.


        Currently, you can check if the necessary class would appear in the drop-down list during a creation of a new scheduled job after you would edit this class and remove 'System'.

        Please let me know if this would help.


        Thank you,

        Kate



        Kate Dulko
        Customer Relations

        The Welkin Suite

        twitter: @KateDulko
        skype id: d_katerina
        e-mail: kate.dulko@welkinsuite.com

         

          





        Boost Your Productivity. Get Started Today

        Try Free Trial