How To Delete HR Workflow Notifications From The Tables
To delete stuck HR workflow notifications from tables:
1. Determine the transaction ID for the notification by running a SQL script.
2. Run SQL scripts to delete data from three tables in a specific order to avoid unique constraints: hr_api_transaction_values, hr_api_transaction_steps, and hr_api_transactions.
3. Run a concurrent program to flag defunct processes for deletion and a process to purge obsolete workflow runtime data to completely remove the notifications.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
467 views1 page
How To Delete HR Workflow Notifications From The Tables
To delete stuck HR workflow notifications from tables:
1. Determine the transaction ID for the notification by running a SQL script.
2. Run SQL scripts to delete data from three tables in a specific order to avoid unique constraints: hr_api_transaction_values, hr_api_transaction_steps, and hr_api_transactions.
3. Run a concurrent program to flag defunct processes for deletion and a process to purge obsolete workflow runtime data to completely remove the notifications.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1
How to delete HR workflow notifications from the tables.
These notifications are
stuck due to incorrect setup. How to delete HR workflow notifications from the tables. These notifications ar e stuck due to incorrect setup. >> 1- Determine the item key for the transaction by running wf_status.sql (from $FN D_TOP/sql/wfstatus.sql) 2- Please run the following SQL: Please note, you need to delete the data from the following tables in the follow ing order - hr_api_transaction_values - hr_api_transaction_steps - hr_api_transactions otherwise you will get a unique constraint. select transaction_id ,item_type ,item_key ,process_name from hr_API_TRANSACTIONS where item_type ='HRSSA' and item_key = '&p_item_key'; delete from hr_api_transaction_values where transaction_step_id in (select transaction_step_id from hr_api_transaction_steps where transaction_id = &p_transaction_id_from_1); delete from hr_api_transaction_steps where transaction_id = &p_transaction_id_from_1; delete from hr_api_transactions where transaction_id = &p_transaction_id_from_1; 3- Run the process: Complete Defunct HR Workflow Processes concurrent program this will flag any HR workflow process that are no longer in operation to be del eted. Users can use the following parameters: Item Type HR Age 365 Transaction Status ALL 4- Run the Purge Obsolete Workflow Runtime Data process to delete the actual wor kflow processes. Any existing notifications that exit for the 3 item keys are now completely usel ess.