Component evidence

Flow Pause Task (flow/Pause.java)

kestra · core/src/main/java/io/kestra/plugin/core/flow/Pause.java · java · Apache-2.0
automationtag:pausetag:delaytag:flow

Flowable task that pauses an execution for a duration or until a date, optionally requiring manual validation. Reuse to add delays or human-in-the-loop gates in workflows.

Source preview first 800 characters · full source over MCP
// Source: https://github.com/kestra-io/kestra | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
package io.kestra.plugin.core.flow;

import java.time.Duration;

import org.hibernate.validator.constraints.time.DurationMin;
import java.time.LocalDateTime;
import java.util.*;

import com.fasterxml.jackson.annotation.JsonProperty;

import io.kestra.core.exceptions.IllegalVariableEvaluationException;
import io.kestra.core.models.annotations.Example;
import io.kestra.core.models.annotations.Plugin;
import io.kestra.core.models.annotations.PluginProperty;
import io.kestra.core.models.executions.Execution;
import io.kestra.core.models.executions.NextTaskRun;
import io.kestra.core.models.ex

... (truncated -- full source via MCP)