CA Service Management

 View Only

  • 1.  How to Cancel all pending WFs if one of the WF is Rejected

    Posted Jun 04, 2025 09:32 AM

    Hello All,

    I am trying to find solution if any of Change order WFs is set to "Rejected" status, All Wait or Pending task should be cancelled.

    Can anyone please help me finding solution?

    It is really hard to get answers here.



  • 2.  RE: How to Cancel all pending WFs if one of the WF is Rejected

    Broadcom Employee
    Posted Jun 04, 2025 11:50 AM

    Hi Sandip,

    The only way I think you can do this is for you to build an `UPDATE` POST_CI trigger on, I think `chgwf` object, to call a custom spel method to check the status and if it transitions from `Non-Rejected` to `Rejected` then do the code to update all the rest of the tasks to `Canceled`

    Sebastian