Query to get Current Task of Performance Document
Summary:
Oracle provided one of the Doc KB52096 with script details and observed that this query also getting multiple statuses instead of current task status.
Used below query but still not getting correct current task details. Appreciate if anyone had query to get current task status.
SELECT trl.MGR_TASK_NAME
FROM HRA_EVAL_STEPS es
JOIN HRA_EVALUATIONS ev ON es.EVALUATION_ID=ev.EVALUATION_ID
JOIN HRA_TMPL_DEFNS_B td ON ev.TEMPLATE_DEFN_ID=td.TEMPLATE_DEFN_ID
JOIN HRA_PF_TASK_ROLES_B tr ON td.PROCESS_FLOW_ID=tr.PROCESS_FLOW_ID and tr.TASK_CODE=es.STEP_CODE