This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

flow

Operation Orchestration Studio how can I make a flow that every two hours reviews the flows that have been running for more than an hour and sends us an email

  • 0

    You can start expanding this query to achieve your objective:

    I'm using Oracle database... hope it helps

    SELECT
    FLOW_UUID,
    FLOW_PATH,
    CAST(DATE '1970-01-01' + ( 1 / 24 / 60 / 60 / 1000 ) * START_TIME_LONG AS TIMESTAMP) + INTERVAL '+03:00' HOUR TO MINUTE as "DurationMin"
    FROM OO_EXECUTION_SUMMARY WHERE
    STATUS = 'RUNNING'