I have used the following sql query as
@Pete Wirfs has suggested and we received the no of executions on a particular day. I am not sure how to export this data, I can copy paste it but as it's huge it doesn't allow all the lines to be copy pasted at once and it's more of a manual task.
Can you help me with how to extract the list of jobs & jobp that are active in prod? Not the jobs that are currently running/active.
select oh_client as Client
, oh_otype as ObjectType
, oh_name as ObjectName
, ah_status as FinalStatus
, ah_timestamp1 as ActivationTime
, ah_timestamp2 as StartTime
, ah_timestamp4 as EndTime
from oh, ah
where oh_idnr = ah_oh_idnr
and oh_client = ah_client
and ah_timestamp2 >= '2021-02-14 00:00:00'
and ah_timestamp4 <= '2021-02-14 23:59:59'
and ah_otype in ('JOBS','JOBP','EVNT','CALL')
Thanks,
Gokul
Original Message:
Sent: 02-23-2021 04:35 AM
From: Gokul Krishnan
Subject: How to extract daily execution and historical daily executions from AWI 12.2.0
Hi Pete,
Appreciate your valuable helps.
I got some results on the screen after clicking the preview button, please see the screenshot below. How do we export this data? I don't see an option to export it. Our primary goal is to calculate the average daily executions (JOBS, JOBP, JSCH, EVNT, CALL) and historical daily executions.
We are also trying to pull the active executable objects count from the Automic.

Thanks,
Gokul
Original Message:
Sent: 02-22-2021 07:34 PM
From: Pete Wirfs
Subject: How to extract daily execution and historical daily executions from AWI 12.2.0
don't panic when you see that the timestamps don't seem to make sense. The timestamps that are returned are all stored in the database as greenwich time, and have to be adjusted to your timezone for them to make sense.
------------------------------
Pete Wirfs
SAIF Corporation
Salem Oregon USA
Original Message:
Sent: 02-22-2021 07:30 PM
From: Pete Wirfs
Subject: How to extract daily execution and historical daily executions from AWI 12.2.0
Yes, the preview button will return your data query results to you.
------------------------------
Pete Wirfs
SAIF Corporation
Salem Oregon USA
Original Message:
Sent: 02-22-2021 05:30 PM
From: Gokul Krishnan
Subject: How to extract daily execution and historical daily executions from AWI 12.2.0
Hi Pete,
I found the VARA.SEC_SQLI object. I just need to enter the query statements in the SQL server statement column and click preview to get the appropriate results?

Thanks,
Gokul
Original Message:
Sent: 02-22-2021 05:09 PM
From: Pete Wirfs
Subject: How to extract daily execution and historical daily executions from AWI 12.2.0
Nope, wrong type of object. There is a VARA.SEC_SQLI that you need to use. The trailing "I" is important. It takes you into a similar looking object that automatically connects to the AE database. I just remembered however that your administrators may have decided to restrict access to the AE database, and therefore the SQLI objects may not be available to you personally. So you may be running into site-defined restrictions, and you may need to ask for more access.
------------------------------
Pete Wirfs
SAIF Corporation
Salem Oregon USA
Original Message:
Sent: 02-22-2021 02:41 PM
From: Gokul Krishnan
Subject: How to extract daily execution and historical daily executions from AWI 12.2.0
Hi Pete,
Thanks for your quick response.
Hope you're referring to VARA.SEC_SQL from Automic AWI? Attaching screenshot. I am not sure what login should we select to get the results. Can we select default login?

Original Message:
Sent: 02-22-2021 11:36 AM
From: Pete Wirfs
Subject: How to extract daily execution and historical daily executions from AWI 12.2.0
Here is a SQL to get things started. SQL can also be used to compute summary counts. But you should familiarize yourself with the results from this SQL first to get a feeling for what sort of data is available.
select oh_client as Client
, oh_otype as ObjectType
, oh_name as ObjectName
, ah_status as FinalStatus
, ah_timestamp1 as ActivationTime
, ah_timestamp2 as StartTime
, ah_timestamp4 as EndTime
from oh, ah
where oh_idnr = ah_oh_idnr
and oh_client = ah_client
and ah_timestamp2 > '2021-02-22'
------------------------------
Pete Wirfs
SAIF Corporation
Salem Oregon USA
Original Message:
Sent: 02-22-2021 11:18 AM
From: Pete Wirfs
Subject: How to extract daily execution and historical daily executions from AWI 12.2.0
If your only experience with the product is as a user of the AWI, then this is a very difficult task. (You can increase the 500 restriction yourself under personal settings, but it won't allow more than 999.)
The way I would approach this would be to run my own SQL query statement against the database. This can also be done from a VARA.SEC_SQLI object within the AWI. If you think you would be comfortable doing so, I could post some SQL for you to try using that method?
------------------------------
Pete Wirfs
SAIF Corporation
Salem Oregon USA
Original Message:
Sent: 02-22-2021 10:42 AM
From: Gokul Krishnan
Subject: How to extract daily execution and historical daily executions from AWI 12.2.0
Hi Pete,
I am not really sure how to do it. I was going through the link you provided, is the query mentioned can be configured on any objects on the Automic GUI?
What type of job needs to be created in Automic to query the results?
Please note, I don't have access to the Automic servers and Database so am looking for a way to extract these information directly from the Automic GUI for audit purpose. Putting the filters is a manual task as I cannot see executions beyond 500(Don't have the option to change the limit in settings).
Thanks,
Gokul
Original Message:
Sent: 02-19-2021 10:15 AM
From: Gokul Krishnan
Subject: How to extract daily execution and historical daily executions from AWI 12.2.0
Hello everyone,
We are in the process of taking a count of daily executions of objects in Automic which includes Jobs, Workflows, Events, etc. Can someone help on how to extract those information from Automic AWI. There may be jobs which runs multiple times in a day, we would like to extract the total number of objects executing in a day.
Automic version 12.2.0
Please help. Thanks.
Regards,
Gokul Krishnan