3 Replies Latest reply on Jan 9, 2020 1:59 AM by Ian Matthews

    Sub folder not issuing Condition when Not OK

    Ian Matthews
      Share This:

      Hi All

           I currently have a number of Smart folders set up which contain sub folders.  The requirement of one of these Sub Folders (which contains several jobs) is to issue an IN condition to another Sub folder if it ends Not-OK.  However, I have found that even though jobs fail within the Sub folder, in turn setting the folder itself Red, it does not issue its condition to the other folder.  I have tried the ON DO options - Folder Ended Not OK and Folders Number of Failures =1, but still not joy.

      What I have noticed though, is that as soon as the folder is removed from the Active monitoring environment, the condition is added.

      Is there any way of issuing the condition as soon as there is a failure within the sub folder (All jobs within the sub folder are dependent on each other) other than configuring every job within it to issue the condition if they fail??

        • 1. Re: Sub folder not issuing Condition when Not OK
          Bentze Perlmutter

          Hi Ian,

           

          A Smart Folder or Sub folder only get to an Ended State (ok or notok) when all jobs in the folder have ended.

          I.e. if one job has ended notok, but there are still jobs in waiting state, so the folder itself is still in Executing State (even though the color changes to red, that is for display purpose to highlight in the tree view where the failed job is located) and therefore the Folder's ON NOTOK will not get triggered.

           

          I think the only option you have, when folder has sequential job flows, is to have the DO NOTOK in each job.

           

          Regards,

          Bentze

          • 2. Re: Sub folder not issuing Condition when Not OK
            Mun Keong Lee

            Hi Ian

            "When Folder Ended Not OK" kicks in only after all jobs in the folder are completed (whether OK or not). If you want to trigger your 2nd sub-folder on any job failure, you will need to either define add condition for each and every job or to use BIM to monitor the job flow. BIM can add a condition based on "job failure on service path". You have to make sure that all the necessary jobs are in the service path. It may be an overkill to use BIM just for this purpose but this is the only solution that I can think of.

            Regards,

            MK

            2 of 2 people found this helpful
            • 3. Re: Sub folder not issuing Condition when Not OK
              Ian Matthews

              Thank you both for responding.

              It is a shame that there isnt an option to detect and report on a failure within a folder (At folder level), if it is going to prevent the folder from completing.

              Looks like i will be adding quite a few 'ON DO' actions to jobs today :-/