Quantcast
Channel: Doyensys Allappsdba Blog..
Viewing all articles
Browse latest Browse all 1640

Retry Errored Workflow Activities

$
0
0

You can retry all errored activities for the specific item type, or you can choose to retry only activities for a particular work item of that item type,
activities for a particular process within the item type.

You can get the list of Errored WF activities : (where conditions change as per the need)

Eg :

SQL> SELECT wf_act.begin_date,wf_act.*
FROM apps.WF_ITEM_ACTIVITY_STATUSES wf_act
WHERE ITEM_TYPE = 'IEXSTRY'
--AND ITEM_KEY = <nnnnn>; --:strategy_id
AND ACTIVITY_STATUS = 'ERROR'
AND ACTIVITY_RESULT_CODE = '#EXCEPTION'
and trunc(begin_date) > to_date('01-APR-2020', 'DD-MON-YYYY' )
and error_stack like '%resource busy and acquire with NOWAIT specified or timeout expired in Package IEX_strategy_work_items%';

Then make a note of Failed WF activities from the above SQL and run the below Concurrent Program to retry them:

"Retry Errored Workflow Activities"


Viewing all articles
Browse latest Browse all 1640

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>