We are using HP Openview Service Desk running on HPUX / Oracle 9. I am trying to get the number of priority severity 1 service outages calls that are still open and new (either closed or new) in the last 24 hours. The way the formula is written, takes about 35 to 60 minutes to run, which is way too slow. Here is the formula
{V_SERVICE_EVENT.IMPACT} = "Service Outage (Unavailable to all users)" and
({V_SERVICECALL.STATUS} in ["In Progress", "Routed", "Pending", "Dispatched"] OR
({V_SERVICE_EVENT.CREATED} >= (CurrentDateTime - 1) and {V_SERVICE_EVENT.CREATED} < CurrentDateTime ))
{V_SERVICE_EVENT.IMPACT} = "Service Outage (Unavailable to all users)" and
({V_SERVICECALL.STATUS} in ["In Progress", "Routed", "Pending", "Dispatched"] OR
({V_SERVICE_EVENT.CREATED} >= (CurrentDateTime - 1) and {V_SERVICE_EVENT.CREATED} < CurrentDateTime ))