Class FlowConfig

java.lang.Object
io.superdurable.dex.FlowConfig

public final class FlowConfig extends Object
Configures server behavior for one Flow execution.

Use this value as a start-time override or in an update request. Flow starts select pull Workers; updates preserve the existing Worker routing. Unset properties use server defaults at start and retain existing values on update. Continue-as-new thresholds bound execution history and page size; consult the server deployment configuration before overriding them.

FlowConfig config = FlowConfig.newBuilder()
        .activeStepSearchMode(ActiveStepSearchMode.WITH_WAIT_FOR)
        .stepDurability(StepDurability.SYNC)
        .build();
  • Method Details

    • newBuilder

      public static FlowConfig.Builder newBuilder()
      Creates a builder whose unset values use server defaults.
      Returns:
      a new mutable builder