SAP Knowledge Base Article - Public

3771227 - Replication flow restart fails with taskAlreadyRunning error - SAP Datasphere

Symptom

You want to restart a Replication Flow (e.g., stop and re-run due to a stuck or unexpected state). The following behavior is observed:

- The Stop button at the RF level is disabled (greyed out); only "Start Run" is available in the UI
- Clicking "Start Run" returns an error:

HTTP Status: 409
Error Code: taskAlreadyRunning
Technical Message: A conflicting task is already running.

Environment

SAP Datasphere

Cause

A prior RF runtime from an earlier execution was not properly terminated and remains registered as active in the system. This orphaned runtime holds a lock that prevents new runs from starting.

Resolution

  1. In the Data Integration Monitor, open the affected RF
  2. Scroll down or apply a filter to locate the active/hanging runtime from an earlier date
  3. Click the "Stop Run" icon at the runtime level (this is distinct from the RF-level Stop button)
  4. Wait for the runtime status to change to stopped/completed
  5. Click "Start Run" to restart the RF

Keywords

taskAlreadyRunning, conflicting task, Replication Flow, stuck, cannot stop, Stop button disabled, Start Run, RF Monitor, runtime level, Stop Run, orphaned runtime, , KBA , DS-DI-RF , Replication Flow Runtime , Problem

Product

SAP Datasphere all versions