Friday, November 02, 2007

PO Workflow Debug
The following is exceptionally useful when trying to diagnose problem encountered during workflow execution.This can be exceptionally useful in determining why a section of code is failing.
Step 1) clearing any existing debug entries
truncate table po_wf_debug
Step2) Set Profile Option ‘PO: Set Debug Workflow ON’ to Yes, then reproduce the issue
Step 3)
SELECT document_id,
document_number,
authorization_status,
debug_message
FROM
po_wf_debug ;
optionally add itemtype and itemkey to limit the data returned.

No comments: