Automic Workload Automation

 View Only
  • 1.  ForEach workflow blocking

    Posted Aug 07, 2020 05:56 PM
    I have a standard workflow that contains a number of tasks, one of which is a ForEach workflow. The ForEach workflow only has one task and I have set the postcondition of the task to block if the task ends with a status of ANY_ABEND. This is working but the parent workflow still shows a status of active when the ForEach workflow is blocked. Is there a way to change the status of the parent workflow to blocked as well when the ForEach workflow is blocked?


  • 2.  RE: ForEach workflow blocking
    Best Answer

    Posted Aug 07, 2020 06:01 PM
    I don't think so.  This is the behavior for any type of nested workflow.  If a child workflow is blocked, the parent workflow will still show as Active.

    ------------------------------
    Pete Wirfs
    SAIF Corporation
    Salem Oregon USA
    ------------------------------



  • 3.  RE: ForEach workflow blocking

    Posted Aug 08, 2020 11:06 AM
    I have tried this by keeping Block as a final action in case of "ANY-ABEND" and I could see that both the workflows are blocked. However, the child workflow is showing as ENDED NOT OK - ABORTED.


    Below is the post condition that I've defined in both the tasks

    You can also try "Cancel Parent Workflow" in the post condition of the job so that the For-Each Workflow will get cancelled that will block the parent standard workflow.

    ------------------------------
    Bharath B.
    ------------------------------