For each event you use, create the named screen Client Action below. Add its listed input parameters with the exact types. Select that action on MainComponent's event property, then enter each mapping explicitly. Event arguments and screen locals are different scopes.
OnApply → HandleApply
Validated filter AST requested by the user. An empty root means clear filters.
Flow: Start → run your application action using the mapped event arguments → End.
For a JSON argument, use JSON Deserialize with the matching Structure or List shown in this component’s API. Do not deserialize unrelated payloads into the same structure. Keep the raw JSON only when the documented storage contract requires it.
OnChanged → HandleChanged
Complete draft filter AST, including incomplete values.
Flow: Start → validate the requested value; assign the corresponding screen state so the Block receives it back → End.
For a JSON argument, use JSON Deserialize with the matching Structure or List shown in this component’s API. Do not deserialize unrelated payloads into the same structure. Keep the raw JSON only when the documented storage contract requires it.
OnError → HandleError
Readable input, callback, or operation error. The Block also displays operation errors.
Flow: Start → display the mapped error argument in your feedback region → End.