Parameters
NameTypeDescription
recordsys.data.RecordThe record where the action is executed
actionsys.data.ActionThe action that you want execute.
Returns
Object{} | value -

Path to a JavaScript function that calculates or fetches the data to be displayed in the widget. This enables the widget to display relevant and context-specific information, adjusting its appearance and content dynamically based on the calculated values and conditions.

This script can return either a simple value or a structure. If a structure is returned, it can override the default attributes of the widget, including: value, valueStyle, icon, iconStyle, footNote,