Now that I got how the work, found a use for the custom events. In the workflow shown in the screenshot, at change of each StarRating element’s value I want to calculate the average score and put in the DB for later reuse (since it’s hard to calculate complex formulas with no parentheses I can calculate their parts gradually and keep them)
From description in reference I thought you could reuse them at other pages, but I guess they’re per-page only (can call those functions from other events. As I wrote above, it would be nice to have an Application page too to host Data-related workflows (do stuff when data changes) where you could probably also define global functions visible by all pages (since those will be able to access only data and global UI defined at that page [that UI would be like a template, repeated at each page, so flows that use those names would work everywhere])
