Automic Workload Automation

Expand all | Collapse all

Automic scheduling

Jump to Best Answer
  • 1.  Automic scheduling

    Posted 11-11-2016 08:00 AM
    Hi all,

    Scenerio : 
    Hope the below sketch will help to understand the work flow.

    Requirement : I need the JOBS.WIN.TEST2 and JOBS.WIN.TEST4 runs only on Friday and the remaining jobs on daily basis.
    Issue : I have given calendar condition to JOBS.WIN.TEST2 and JOBS.WIN.TEST4 to run only on Friday and in "Task Properties of the job I have given 'Ended Ok' condition". The workflow is working fine on Friday but it's not getting completed properly on remaining weekdays. When the workflow starts, the JOBS.WIN.TEST2 will go to 'Blocked' status and I need to manually unblock it to proceed further.

    67m9bveaf1kc.jpg" width="1600">

    quoc3wlad0nl.jpg" width="739">


  • 2.  Automic scheduling

    Posted 11-11-2016 08:56 AM
    Hello Bipin,

    From the provided screenshots it seems you are editing the dependencies of JOBS.WIN.TEST2, not those of the next job: the dependency should be set in JOBS.WIN.TEST4.

  • 3.  Automic scheduling
    Best Answer

    Posted 11-11-2016 10:33 AM
    Hello Bipin,

    I'm trying to follow what you want to accomplish here, please correct me if I'm wrong;
    1. Workflow executes each day
    2. Sunday through Thursday youonly want JOBS.WIN.TEST3 and JOBS.WIN.TEST5 to run in that order
    3. Friday you want JOBS.WIN.TEST2, JOBS.WIN.TEST3, JOBS.WIN.TEST4, JOBS.WIN.TEST5 to run in that order
    Could you also provide the  task properties of JOBS.WIN.TEST2 calendar tab and JOBS.WIN.TEST4?

  • 4.  Automic scheduling

    Posted 11-11-2016 11:55 AM
    Thanks for checking!! Please find the below screenshots as requested.gxn5rr1edbci.jpg" width="745">eh4f0okqqdlc.jpgcvzsd2ubmzl2.jpg" width="776">

  • 5.  Automic scheduling

    Posted 11-11-2016 12:00 PM
    I want  JOB.WIN.TEST(2) AND JOB.WIN.TEST3(5) runs on every day.
     JOB.WIN.TEST2(3) and JOB.WIN.TEST4(4) only on Friday. 
    Please check the above screenshot for reference.

    Thanks in advance!!

  • 6.  Automic scheduling

    Posted 11-11-2016 12:24 PM
    Those placement numbers in the workflow always throw me off.. 

    I'm assuming you want the jobs to all process in order? If Friday run Test then Test2 then Test3 then Test4 .. if any other day only run Test then Test3 ... 

  • 7.  Automic scheduling

    Posted 11-11-2016 12:41 PM
    Okay so my test set up is configured with the following dependencies:

    • JOB.WIN.TEST - No depenency
    • JOB.WIN.TEST2 - dependent on JOB.WIN.TEST completing with ANY_OK and week day being "THURSDAY" (just for this test since today is friday)
    • JOB.WIN.TEST3 - dependent on JOB.WIN.TEST2 completeing with ANY_OK
    • JOB.WIN.TEST4 - dependent on JOB.WIN.TEST3  completing with ANY_OK and week day being "THURSDAY" (just for this test since today is friday)
    5s7h9m0le71x.png" width="1107">

    My Calendar is configured like this:
    220qth8iqbgy.png" width="702">

    The successful process today (using Thursday as the day that JOB.WIN.TEST2 and JOB.WIN.TEST4 should run) looks like this:

    357ye0qdkzes.png" width="1069">

    The "ANY_OK" setting includes ENDED_SKIPPED which should be the return on a job that does not meet the scheduled day.

    I also ran this with the weekly calendar keyword set to FRIDAY and ALL jobs processed in the correct order.

    I hope this helps. 

  • 8.  Automic scheduling

    Posted 11-11-2016 02:05 PM
    Hi Daniel,

    Below is the workflow which we are facing the issue. The highlighted needs to run on Sunday alone and calendar has benn created for the same. But when the workflow runs on Weekdays, the jobs which are highlighted gets blocked and the run is not completed. Hence we change the properties in the end task manually on weekdays. Can we automate this in the schedule.


  • 9.  Automic scheduling

    Posted 11-21-2016 12:32 AM
    Hi Daniel, 

    If we are using "ANY OK" condition in the above workflow, the next job will start execution even the predecessor job is failed.
    I don't want the next job to run if the predecessor is  failed. What can we do in this scenario??

  • 10.  Automic scheduling

    Posted 11-21-2016 10:50 AM
    The easiest method that I have found is to make a separate (sub)workflow that contains the five tasks outlined in yellow.  Replace those tasks with this new workflow and set the appropriate properties on that task 

  • 11.  Automic scheduling

    Posted 11-21-2016 10:52 AM
    We use "ANY_OK" on the majority of our relationships, but there is also an "ELSE" setting that tells it how to behave if the predecessor is not satisfied.  We set our ELSE to "Block".