Script Example 3: Use Table onAfterDataEntryProcess Event
As a story developer, you can write scripts for a table's onAfterDataEntryProcess event to let story viewers run data actions with its data changes.
Prerequisites
-
You've created a story and added the following widgets:
-
A table Table_1, which uses a planning model
-
A button Button_1
-
-
You've created a data action DataAction_1 with the following configurations:
-
A copy step, which copies values of budget version from 2024 to 2025

-
A parameter EntityParam, with dynamic input on dimension Entity

-
Context
You'd like to write scripts to let story viewers run DataAction_1 when data on Table_1 is changed via data entry, copy and paste, or submitData() API by clicking a Button_1.

