Signature
global static List<String> execute(List<Delay.FlowInput> inputs)
Parameters
| Parameter | Description | |
|---|---|---|
inputsList<Delay.FlowInput> |
required | One entry per delay. Each FlowInput carries delayInMilliSeconds — the pause in milliseconds. |
Return Type
List<String> — the requestId values, in input order.
Example
cldfs.Delay.FlowInput inputs = new cldfs.Delay.FlowInput(); inputs.delayInMilliSeconds = 1000; List<String> requestId = cldfs.Delay.execute(new List<cldfs.Delay.FlowInput>{ inputs });
Also available: Client.delay()The invocable form above (
cldfs.Delay.execute(FlowInput)) is the flow-friendly entry point. The package also exposes a direct method Client.delay(Integer delayInMilliSeconds, List<String> requestIds) for calling from Apex without building a FlowInput.