Ansicht
Dokumentation

RSWF_SYSTEM_TEMPORARY - Resumes execution of temporary errors

RSWF_SYSTEM_TEMPORARY - Resumes execution of temporary errors

ROGBILLS - Synchronize billing plans   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

Purpose

This report implements the workflow system job SAP_WORKFLOW_SYSTEM_TEMPORARY . The system job SAP_WORKFLOW_SYSTEM_TEMPORARY runs in each client. He is responsible to resolve temporary errors within the workflow runtime system. Temporary issues can occur by design of the workflow system as workflow supports parallelism, work items are assigned to multiple users, work items operating on application objects, ...

Example for temporary errors:

  • Work item get the status completed and the callback is started. WIthin the callback the workflow instance has to locked this is not possible as a second work item was completed as well and the callback of this work item has already enqueued the workflow instance.
  • The method of a background work item enqueues the application object. This enqueue operation fails as another user changes the application object. The method is now raising a temporary exception. The workflow runtime will stop the execution, the batch item remains in the status 'STARTED' and retry will be executed.
  • Within an application callback the application object has to be enqueued as the callback would like to change the status of the object. The enqueue operation fails. The application raises a temporary exception. The workflow system will retry the callback in next run of the job.
  • Workflow is cancelled. The cancellation of a workflow instance will cancel all active work items. This is not possible as a business user is executing the work item. The workflow system retries the cancellation of the work item and handles such an issue as a temporary error.

Integration

The job is started if the batch event SAP_BWF_SYSTEM_TEMPORARY is raised. The workflow system job SAP_WORKFLOW_SYSTEM which runs time based with a recurrence of one minute is responsible to raise the batch event.

Prerequisites

  • The job repository is configured and active.
  • The workflow system job SAP_WORKFLOW_SYSTEM has found at least one workflow instance which has a temporary issue.

Features

The job retries the action which has raised the temporary error e.g.

  • Restart the backgound work item
  • Redo the application callback
  • Cancel the work item instance

If the retry fails than an application log entry is written. The workflow system job SAP_WORKFLOW_SYSTEM will schedule a retry by raising again the batch event which will start the job. This happens at the next run of the workflow system job SAP_WORKFLOW_SYSTEM.

Selection

The whole workflow database is checked in the current client.

Standard Variants

Report has no variants.

Output

Application log is used. Please use transaction SLG1 with object '/WF/JOBS' and subobject 'SYSTEM_TEMP_ERROR'.

Activities

Example






Addresses (Business Address Services)   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 3268 Date: 20240601 Time: 044136     sap01-206 ( 63 ms )