Interface WorkflowInstanceAttributeRegister<T>

Type Parameters:
T - the type of attribute data to register
All Superinterfaces:
WorkflowInstanceExtension

public interface WorkflowInstanceAttributeRegister<T> extends WorkflowInstanceExtension
Interface for implementing custom workflow instance attribute registers. WorkflowInstanceAttributeRegister provides a way to load and register transient attributes during workflow instance execution, with access to the workflow instance context and register configuration.
Since:
1.0
See Also:
  • Method Details

    • registerAttribute

      T registerAttribute(WorkflowExecutionContext context, Register register, Attributes args) throws WorkflowException
      Registers attributes for the workflow instance based on the register configuration.
      Parameters:
      context - the workflow instance context
      register - the register configuration
      args - attribute register arguments
      Returns:
      the registered attribute data
      Throws:
      WorkflowException - if there's an error registering the attributes