Skip to content

IF_Chain.Step

Class

apex
global interface IF_Chain.Step

Known Derived Types: UTIL_AsyncChain.ApiStep, UTIL_AsyncChain.ChainStep, UTIL_AsyncChain.ApiStep.work(UTIL_AsyncChain.ChainContext), UTIL_AsyncChain.ChainStep.work(UTIL_AsyncChain.ChainContext)

Interface for defining the business logic of a single chain step. Each step receives a shared context and returns a result indicating success or failure.

Since: 1.0


Methods

MethodDescription
global abstract UTIL_AsyncChain.StepResult work(UTIL_AsyncChain.ChainContext context)Executes the step's business logic within the chain.

Method Details

work

apex
global abstract UTIL_AsyncChain.StepResult work(UTIL_AsyncChain.ChainContext context)

Executes the step's business logic within the chain.

Parameters:

Returns: UTIL_AsyncChain.StepResult - StepResult indicating success or failure of the step.

Since: 1.0