Forum Discussion

D4zk's avatar
D4zk
Frequent Visitor
5 months ago
Solved

Copy Job Triggered Twice When Executed from Pipeline (Foreach)

There is an additional issue related to the Copy Job. I tried executing a ForEach activity to call a list of copy jobs from the pipeline. The correct copy job is invoked: However, it is execut...
  • v-abhinavmu's avatar
    v-abhinavmu
    5 months ago

    Hi D4zk,
    Thanks for the detailed explanation.

    From a Copy Job perspective, the execution details that are exposed are currently limited to the activity-level logs (as you’ve already observed). These logs typically show the overall success/failure status and high-level error messages, but they do not always provide full visibility into intermediate states such as LSN evaluation or CDC window handling.

    Because of this, scenarios like:

    • One execution succeeding
    • A subsequent execution failing

    may not always have enough diagnostic detail available directly within the Copy Job monitoring experience.

    You might consider validating the source query independently (in SQL Server) to better understand how it behaves across executions. If deeper visibility or control is required, implementing a custom pipeline can help with explicit state tracking and logging.

    I hope this information helps. Please do let us know if you have any further queries.

    Thank you!