Join views together at the server, folder, workflow level to ensure uniqueness across environments.
l
Correlate a sub-query to limit the amount of execution history returned (the SYSDATE part) and ensure only the latest
execution is returned
(the MAX WORKFLOW_RUN_ID part).