ESP dSeries Workload Automation

Expand all | Collapse all

How to mark the FTP job as force completed automatically for a specific failures.

  • 1.  How to mark the FTP job as force completed automatically for a specific failures.

    Posted 9 days ago

    Hi Team,


    I am writing it for one of my requirements is that if there is no file available for download like "no matching files found" error, the job should not fail and send an email alert of failure, the job should instead get force completed or bypassed. If there is any other reason for failures, the job should obviously get failed and send an email alert of failure. Is there any way in WLA through which it can achieve, not necessarily force complete it could bypass as well.

    Product details:-

    WLA version 12.0

    Agent version 11.4



  • 2.  RE: How to mark the FTP job as force completed automatically for a specific failures.

    Broadcom Employee
    Posted 9 days ago
    Hi,

    In dSeries, you can achieve this by using the built-in javascript variables.

    - Create an alert to run a javascript when the job FAILS
             This alert will use the WOB._status field to check the reason of failure. If it matches with the string , using execCommand you can force complete the job.




  • 3.  RE: How to mark the FTP job as force completed automatically for a specific failures.

    Posted 15 hours ago
    HI, We drafted the below script but it won't take effect on the job.

    FYI, enabled it on Failed of alert(PFB).

    WOB._status =='No matching files found'

    execCommand ('%(WOB._name).%WOB._qualifier','%(APPL._name).%APPL._gen','ACTION COMPLETE')