Schedule fails with the error 'could not find function "(function name)"'

Problem

The schedule fails with the error: ‘could not find function “(function name)”.’

Cause

This error occurs when calling a custom function defined in a Script. Currently, custom functions defined in Scripts cannot be used in schedules.

Solution

As a workaround, instead of calling the function from the script, you can directly write the function’s logic in the Create Calculation step.