IF_Chain.Step
Class
apex
global interface IF_Chain.StepKnown 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
| Method | Description |
|---|---|
| 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:
context(UTIL_AsyncChain.ChainContext) - Shared chain context for reading/writing state between steps.
Returns: UTIL_AsyncChain.StepResult - StepResult indicating success or failure of the step.
Since: 1.0