Handling Errors in Task Processing
Errors may occur if, for example, the task is locked when the system tries to updste the task.
Task Locked
When the processor completes or rejects a task, the system will update the task. A temporary error may occur if the task is already locked. The system will try to update the task three times. (The Repeat Counter that is used in report RSWWERIN is fixed.)
If the task cannot be updated, the workflow is erroneous and can be displayed in transaction SWI2_DIAG (Diagnosis of Workflows with Errors).
Workflow administrators will also be informed about erroneous workflows, as set up in the Automatic Workflow Customizing (transaction SWU3) in step Schedule Background Job for Work Items with Errors (the corresponding transaction is SWWD - Configure and Schedule Work Item Error Monitoring).
Display Application Log
In case of an error further messages are available in the application log.
You can display the application log in transaction SLG1. You can analyze the logs and their messages for workflow-specific errors by using object FRA_WORKFLOW.
Workflow Items Without Processors
You can use the work item analysis (transaction SWI2_ADM1 - Work Items Without Agents) to find work items without processors. You can limit the work items to be analyzed by time, type, and task.