Skip to content

IF_Chain

Class · Group: Async

apex
global inherited sharing class IF_Chain

A container for shared global interfaces used by the async chain orchestration framework. Subscribers implement these interfaces to define chain step logic and conditional branching.

Example

apex
public class MyStep implements IF_Chain.Step
{
    public UTIL_AsyncChain.StepResult work(UTIL_AsyncChain.ChainContext context)
    {
        context.put('result', 'done');
        return UTIL_AsyncChain.succeeded('Step completed');
    }
}

See Also: UTIL_AsyncChain


Inner Classes

ClassDescription
StepInterface for defining the business logic of a single chain step.