Automic Workload Automation

 View Only

  • 1.  What would be the most efficient way to exit Job Plan if run out side of being run from a Schedule

    Posted 12 days ago
    Question, What would be the most efficient way to exit Job Plan if run out side of being run from a Schedule without operator input.

    Regards,

    [cid:image001.png@01DCF37F.A1300FF0] Christopher Szabo
    Associate Principal, Infrastructure Engineer
    Email: cszabo@theocc.com<mailto:cszabo@theocc.com>
    Office: (817) 562-3556
    Mobile: (817) 307-1543

    This message may contain information that is privileged or confidential. If you are not the intended recipient, please advise the sender immediately by reply email and delete this message and any attachments without retaining a copy.

    Business Sensitive</mailto:cszabo@theocc.com>


  • 2.  RE: What would be the most efficient way to exit Job Plan if run out side of being run from a Schedule

    Broadcom Employee
    Posted 7 days ago

    Hi,

    please have a look at SYS_ACT_PTTYP, it returns a blank when started from a schedule or W when started manually from the AWI.
    Also explore &$ACTIVATOR_TYPE#.
    If it was a manual activation or the parent is not a JSCH object, then use :EXIT in the Process Tab of the workflow. 

    Regards, Markus




  • 3.  RE: What would be the most efficient way to exit Job Plan if run out side of being run from a Schedule

    Posted 7 days ago

    Hi Christopher,

    I would use a script function in the process tab to check the parent kind (pls search for sys_act_parent_* and probably also the partner typ).

    Regards,

    Peter



    ------------------------------
    Automic Certified Professional/Expert & Broadcom Knight
    ------------------------------