Clarity

 View Only

  • 1.  Automate the selection of processes for cancel/delete

    Posted Feb 26, 2026 03:54 AM

    From the UI processes can be selected for cancel or delete,  the the select all selects 20 entries on the current page.

    it is ok when you have totals of 2 digits but for more this method is time consuming, and requires manual actions.

    The job "Delete Process Instance" can be a solution for the "delete" but there is not a job for cancelling running/error processes

    And from GEL it is possible to launch processes, but what about cancelling them?



    -------------------------------------------


  • 2.  RE: Automate the selection of processes for cancel/delete

    Broadcom Employee
    Posted Feb 26, 2026 05:31 AM

    The job calls the xbl file where all the logic has been written, however the pain point is understandable and best to raise an enhancement for the same via product management office hours  



    ------------------------------
    Thanks & Regards
    Suman Pramanik
    ------------------------------



  • 3.  RE: Automate the selection of processes for cancel/delete

    Posted Mar 03, 2026 03:35 AM

    the job "Delete Process Instance" with filter parameters is neither cleaning aborted or done.

    I've tried with different filters, and at least:

          process name+status+range of specific dates, status+range of specific dates,status+range of relative dates

          

    Is/was there any bug in this job for certain parameters?

    The jop gets executed without error but no a single process is deleted.

    The job definition has enabled logs, Should be written logs in the server?

    -------------------------------------------



  • 4.  RE: Automate the selection of processes for cancel/delete

    Broadcom Employee
    Posted Mar 03, 2026 04:08 AM

    Do you have aborted process within the date range you selected. 



    ------------------------------
    Thanks & Regards
    Suman Pramanik
    ------------------------------



  • 5.  RE: Automate the selection of processes for cancel/delete

    Posted Mar 03, 2026 04:16 AM
    Edited by Daniel Perez Gonzalez Mar 03, 2026 05:38 AM

    yes, I tried several combinations and always with days inside the filtered period.

    Regarding the filter in the screenshot capture, there are aborted processes started on  days 23,25,26 but not deleted yet

    -------------------------------------------



  • 6.  RE: Automate the selection of processes for cancel/delete

    Broadcom Employee
    Posted Mar 03, 2026 05:34 AM

    For a test can you pass specific from and to date and see if the process is getting deleted or not. 



    ------------------------------
    Thanks & Regards
    Suman Pramanik
    ------------------------------



  • 7.  RE: Automate the selection of processes for cancel/delete

    Posted Mar 03, 2026 05:53 AM
    Edited by Daniel Perez Gonzalez Mar 03, 2026 09:35 AM

    This test among many others were already done without success.

    Anyway I've just realized that filters are related to "Finish" dates and not "Start" dates (as i was expecting).

    In brief for aborted instances of a process is all or none so, the job is working "as expected".

    -------------------------------------------



  • 8.  RE: Automate the selection of processes for cancel/delete

    Posted Mar 09, 2026 02:50 AM

    Daniel, that is correct and we can confirm that is the behavior. What we tend to recommend organizations is a job for aborted instances and another one for completed ones with a date range

    -------------------------------------------



  • 9.  RE: Automate the selection of processes for cancel/delete

    Posted Mar 11, 2026 04:31 AM

    Yes, it allows to schedule the partial cleaning of "completed". 

    Just the design of the job is not considering that when you are facing many errors, sometimes you have to cancel them, but it can be useful to keep the logs of some aborted processes for later analysis.

    -------------------------------------------