Skip to content

Idempotent

A property of an operation where re-execution does not change the result: running once or ten times — the effect is the same.

Why in Automation

Mass operations may be interrupted and restarted. An idempotent script will not duplicate data: reprocessing will skip what has already been done.

Examples

  • Update the product description to the same value;
  • Mark the article as 'processed';
  • Use PUT instead of POST in the API.

How Achieved

Store the processing status and check it before execution. This is part of a reliable pipeline.

See Also

← All Terms