StepCondition
-
Steps are created together with a pipeline.
-
Step conditions define whether a step can or is allowed to get executed or not.
-
Own conditions can be implemented with the
\TechDivision\ProcessPipelines\Api\StepConditionInterface
, which also can be used in a Pipeline.XML. -
The
isReady
function defines when a step can or is allowed to be executed over the heartbeat. -
The components contain a set of standardized step conditions.
Condition | Description |
---|---|
AttemptsLimit |
With the condition That ensures a A great example for a five times execution can be found in the following component DI: Virtualization of the AttempsLimit vendor-techdivision-process-pipelines-etc-di.xml
|
TimeBetweenAttempts |
If a step fails and makes further attempts via the With A great example for the execution of a 5-minute wait can be found in the following component DI: Virtualization of the TimeBetweenAttemps vendor/techdivision/process-pipelines/etc/di.xml
|
WaitForStepIsNotRunning |
The
That has the effect that a step with a |
PreviousStepsCompleted |
With the Only the step status |
PreviousStepsFinished |
With the Only the step status |