Automic Workload Automation

 View Only
  • 1.  How to change the STATUS of a jobs after execution

    Posted Jun 21, 2022 07:09 AM
    Hello,

    I'm trying to change the STATUS of a JOBS inserted in a JOBP after execution.
    It's an FTP Job and if the files are not found, I need to interrupt this flow automatically
    The job FTP finish in ENDED_NOT_OK, and I need to change to inactive or something similar (not ENDED-OK., otherwise the workflow continue the execution)
    It's important to do not see it in failure in the monitoring section to avoid the opening of a ticket, when this sistuation is correct (even if there are no files to transfer)

    Thank you very much in advance

    S.Giambaconi


  • 2.  RE: How to change the STATUS of a jobs after execution

    Posted Jun 21, 2022 11:28 AM
    Hi Stefano,

    you can change only the status for the object itself from the port processing tab using the AE script statement

    MODIFY_STATE retcode = <numerical value>

    Currently there is no supported method available similar to the interactive "modify status manually"

    regards,
    Petre


  • 3.  RE: How to change the STATUS of a jobs after execution

    Broadcom Employee
    Posted Jun 22, 2022 01:41 AM
    Hi Stefano,

    kindly provide more details: is your FTP job a JOBF, an RA FTP job or a command line (win, Linux, etc.) running the ftp command?

    Thank you!

    Regards, Markus