Before Render
The Before Render event fires after the Before Process and after all data is collected to be able to display the screen.
This is a server-side ProcScript event.
At this time item data is available.
Available Variables
All variables exposed in 1️⃣Before Process are exposed, but for Detail Record screens, the following added variables are exposed:
current_item
- Raw item data, eg: {item_id:1234, fields:[...], etc}
current_item_values
- Simplified item values, eg: {title:"foo", number:2, etc}
Please note that for screens other than Detail Record screens, there is no current item and therefore these variables would be null.
Examples
Maybe you want to save a field value for later use in On Render:
my_variables.status = current_item_values.status