Foundations Apex API Developer Reference

fferpcore.ffasync_IAction

global Interface ffasync_IAction

This class is used for handling the end of Process actions.

Sample Code

//Note: This sample code is for demonstration purposes only. It is not intended for
//use in a production environment, is not guaranteed against defects or errors, and
//is in no way optimized or streamlined.

public class CustomAction implements fferpcore.ffasync_IAction
{
    public void runAction(fferpcore.ffasync_ProcessService.ProcessExecutionContext ctxt, fferpcore.ffasync_ProcessService.IProcessResult processResult)
    {
        System.debug(result.getErrorCount());
    }
}

Methods

runAction

void runAction(fferpcore.ffasync_ProcessService.ProcessExecutionContext ctxt, fferpcore.ffasync_ProcessService.IProcessResult processResult)

Executes the action’s task.

Input Parameters

Name Type Description
processResult fferpcore.ffasync_ProcessService.IProcessResult Instance of IProcessResult interface with details about Process Run
© Copyright 2009–2022 FinancialForce.com, inc. Confidential – all rights reserved. Various trademarks held by their respective owners.