ESP dSeries Workload Automation

 View Only

Expand all | Collapse all

Creating a variable to add into the "mark overdue when, not completed by" field.

  • 1.  Creating a variable to add into the "mark overdue when, not completed by" field.

    Posted Dec 17, 2024 08:02 AM

    Hello,

    I have an Application that runs twice a day (10am and 2pm). The user requested to be notified after 90 minutes from when the App scans into the queue. Does anyone have a suggestion on setting up an overdue variable?

    I came up with the command below, but I'm not sure it's the best solution. When I simulate the App the overdue value shows up based on the current time of when I issued the command and adds 90 minutes from that time. If I trigger it in with either time (10 or 14) there isn't a value in this field, it is blank. So I really don't know if it is working.

    APPL.completeby = null;
    if (APPL._SHH == '10' || APPL._SHH == '14') APPL.completeby = 'realnow plus 90 minutes'; 

    As always thanks for your input to this question.

    Ken Ski



    ------------------------------
    DARDEN Corporation
    Orlando, FL
    ------------------------------


  • 2.  RE: Creating a variable to add into the "mark overdue when, not completed by" field.

    Posted Dec 17, 2024 08:18 AM

    Hi Ken,

    I would just put "  now plus 90 minutes " on the Job General tab mark overdue if not complete by or if not started by on the last job or link in the flow or a few key jobs or links.  We automatically create incident tickets for overdue jobs, so we choose to be careful of having every job in an application go overdue and alert.

    Sharon




  • 3.  RE: Creating a variable to add into the "mark overdue when, not completed by" field.

    Posted Dec 17, 2024 08:28 AM
    Thanks Sharon. I was trying that yesterday and got errors when simulating. I must have had the syntax wrong. Seems to be working now. Appreciate the quick feedback!!