Interface AutomaticStep<P>

Type Parameters:
P - process payload type
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface AutomaticStep<P>
Immediate process work implemented by application Java.
  • Method Summary

    Modifier and Type
    Method
    Description
    execute(P payload, ProcessExecutionContext context)
    Execute the step and return the payload to persist for the following node.
  • Method Details

    • execute

      P execute(P payload, ProcessExecutionContext context)
      Execute the step and return the payload to persist for the following node.

      The returned payload must not be null. Returning it rather than requiring mutable state lets process definitions use immutable records.