You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Get Started: AI Resources for Oracle Cloud HCM – Go Here

Progress with Redwood: Redwood Resources for Oracle Cloud HCM -  Go Here

Script to Find Progress of any Absence Batch Job

edited Jul 23, 2021 3:08AM in Workforce Management 1 comment

Content

This script returns total number of records picked up for processing, records successfully processed, records errored and records yet to be processed. This SQL can be run for Absence Batch jobs that are currently in Running or Completed Status.

 

SELECT

    COUNT(*) Total_Record_Count,

    SUM(DECODE(action_status_cd,'U',1,0) ) Unprocessed_Count,

    SUM(DECODE(action_status_cd,'E',1,0) ) Error_Count,

    SUM(DECODE(action_status_cd,'P',1,0) ) Processed_Count

FROM

    ben_person_actions

WHERE

    benefit_action_id IN

       (  SELECT  benefit_action_id       

             FROM   ben_benefit_actions

           WHERE   request_id = <1529871> ) -- Replace <1529871> with Parent Process ID

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!