Automic Workload Automation

Expand all | Collapse all

Automatic Clean up of Activity Window

  • 1.  Automatic Clean up of Activity Window

    Posted 07-24-2018 06:30 AM

    Dear experts,

     

    In my environment, we have heavy usage of jobs and workflows...etc  and as a result there is number of open activities in the activity window irrespective of completed or running or in error state

     

    Is there a way to perform an automatic clean up of the activity window in the system? 

    If possible that would be of great help to us. 

     

    Please suggest

     

    Thanks and Regards

    Vimal



  • 2.  Re: Automatic Clean up of Activity Window

    Posted 07-24-2018 09:44 AM

    Hi.

     

    Not sure what you mean by "automatic cleanup". Activities are active jobs, usually with a purpose: They are running, or waiting to run.

     

    If there are active jobs without a legitimate purpose (usually the ENDED_OK or ENDED_EMPTY stuff) , you may want to change the settings of those jobs. Jobs can be set to deactivate themselves upon ending with no errors, or even on ending without any such condition.

     

    Apart from that, you can bulk-select multiple jobs and disable them (you'll probably be best off sorting the activity window by the status column to do this, since marking a block of jobs in differing states may inhibit the showing of the context menu option). You may also want to bulk-disable in smaller chunks of hundreds of jobs, and not thousands of jobs at one time, since I've seen the later overwhelm the engine.

     

    Last but not least, a cold start of the engine will probably disable all (really, all) active objects.

     

    Hth,

    Carsten



  • 3.  Re: Automatic Clean up of Activity Window

    Posted 07-24-2018 10:21 AM

    Hi Carsten,

     

    Thank you. I understand that we can select and remove the jobs that were completed successfully.

    There are thousands of jobs every days and it is very tedious work to manually clear it in each client either by the administrator or the functional teams. 

     

    Hence we would like to automate automatic de-activation of the jobs that are completed sucessfuly. Is this something achievable and if yes, how? 

     

    What you mean cold start of the engine? 

     

    Regards

    Vimalan



  • 4.  Re: Automatic Clean up of Activity Window

    Posted 07-24-2018 11:09 AM

    Each UC4 object has an Attributes area.  This is where you should be able to find the "Automatically deactivate when finished" setting for that object.



  • 5.  Re: Automatic Clean up of Activity Window

    Posted 07-24-2018 11:12 AM

    This.

     

    See the attribute tab of the jobs for that setting, it's what I refered to by:

     

    you may want to change the settings of those jobs. Jobs can be set to deactivate themselves upon ending with no errors, or even on ending without any such condition.

     

    Best,

    Carsten



  • 6.  Re: Automatic Clean up of Activity Window

     
    Posted 07-24-2018 11:13 AM

    Hi,

     

    it's maybe because of they have active parents as a, workflow do not deactivate automatically, is blocked and nobody solve the problem and unblock or restart the activity or cancel the workflow . Also if for example the Workflow (Parent) is set to not deactivate automatically, the child objects stay active until someone is deactivating it. Also the Job it self, maybe started from a schedule object or is planned recurrent should be reviewed. If it don't deactivate automatically or for example after a day, it will raise manual effort you fight with now.
    A clod start of the System do help not in this case, please don't do that. A cold start should be done only, when our support team is advising to do so.
    At the end of the day it's to review the definitions on the job objects, workflows, file-transfer, script objects used and adjust it.  

     

    Best,

    Franz



  • 7.  Re: Automatic Clean up of Activity Window

    Posted 07-24-2018 11:20 AM

    Agreed, the cold start was mentioned for the sake of completeness, it is NOT a viable solution. Should probably have made that more clear.



  • 8.  Re: Automatic Clean up of Activity Window

    Posted 07-25-2018 04:50 AM

    Hi,

     

    This question was already asked and answered many times

     

    Please have a look at these topics:

     

    Clear Down the Activity Window using SQL on the Automic Database 

    How do I cancel A LOT of tasks on the activity window? 

    Deactivate "ENDED_OK" jobs in activity window 

     

    Best regards,

    Antoine