Skip to main content

Calling a Function from a Callback

This article describes how developers can call a function from a Callback.


There are multiple ways to execute a Function in App Builder. One way is on a Callback. App Builder lets developers set code to run on a callbacks that are trigged on Request responses ("On Success" or "On Error").

Configuring function to run on callback

Inside the callback function, you can execute a function object by referencing its name and calling its function() method.

(data) => {
const result = myCustomFunction.function();
// more code
};

Once saved, the Function will be executed whenever that callback is executed.