IT Process Automation

  • 1.  Timeout Settings on Operators: How to Verify?

    Posted Feb 22, 2017 12:05 PM

    I'm experimenting with the Timeout properties on Operators in PAM.  Specifically, the "Execution Settings" for a test process that uses a single "Run_JavaScript" Operator (see image).

     

    The JavaScript (see image) is very simple.  It just loops around 100,000 times, appending a single "." character to a string.  I figured that'll take enough time to exceed the timeout of two (2) seconds (see image).

     

    Strange thing happens, though, when I run this process.  There's no timeout.  Nothing stops/halts/etc.  The thing just loops until the string is appended, or until I halt the process.

     

    I've tried the "Reset", "Abort", and "Abandon" Actions in the "Timeout" section of the Operator.  All result in nothing happening at all.

     

    My understanding (from the DocOps page) is that, there should be some "timeout branch" that the Operator takes.  Though, the documentation isn't clear about what this means.

     

    Can anyone shed some light on why I'm not seeing this Operator fail after the Timeout expires?

     

    Thx,

    -Fred



  • 2.  Re: Timeout Settings on Operators: How to Verify?
    Best Answer

    Broadcom Employee
    Posted Feb 27, 2017 09:27 AM

    I spoke with Fred.  Needed to add an exit port in the operator.

     

    1.  Right click operator with the timeout.

    2.  Select timeout.

    3.  Give it an exit path when timeout is reached.



  • 3.  Re: Timeout Settings on Operators: How to Verify?

    Posted Feb 27, 2017 10:18 AM

    Note, also, that Timeout does not apply to either of the following operators:

    • Run JavaScript
    • Delay

     

    We tested with a Query Database Operator, and the Timeout works fine.

     

    -Fred