Foundations Apex API Developer Reference

fferpcore.ffasync_IProcess

global interface ffasync_IProcess

This interface defines the structure of an async process, implemented by the fferpcore.ffasync_Process and fferpcore.ffasync_ProcessIterable classes.
Please extend framework classes instead of implementing this interface directly.

Methods

getStep

ffasync_IProcessStep getStep()

Get the step that will be run for each chunk of records.

getLoggingRequirement

ffasync_Process.LoggingRequirement getLoggingRequirement()

Get the Logging Requirements for the current process.

getDescription

String getDescription()

Text description of the process. Used on Process Run SObject records.

getScopeSize

Integer getScopeSize()

Data scope size for the batch spawned by the process.

getEndOfProcessActions

List<ffasync_IAction> getEndOfProcessActions()

Provides custom actions to be run after process completion. For example, email or task notifications can be generated to inform users that the process has completed.

canRun

Boolean canRun()

Enables conditional execution of a process. If this method returns false fferpcore.ffasync_ProcessService will not run the process.

© Copyright 2009–2024 Certinia Inc. All rights reserved. Various trademarks held by their respective owners.