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.
OnCopy → HandleCopy
Key of the message copied successfully.
Flow: Start → run your application action using the mapped event arguments → End.
OnError → HandleError
Invalid input or consumer callback error.
Flow: Start → display the mapped error argument in your feedback region → End.
OnExpandedChanged → HandleExpandedChanged
Echo to the IsExpanded input.
Flow: Start → validate the requested value; assign the corresponding screen state so the Block receives it back → End.
OnOpenChanged → HandleOpenChanged
Echo to the IsOpen input.
Flow: Start → validate the requested value; assign the corresponding screen state so the Block receives it back → End.
OnRetry → HandleRetry
New request ID; echo this for retry updates.
Flow: Start → run your application action using the mapped event arguments → End.
OnSend → HandleSend
Unique ID to echo in ResponseRequestId.
Flow: Start → run your application action using the mapped event arguments → End.
OnStop → HandleStop
Request to cancel in your transport. Late updates with this ID are ignored.
Flow: Start → run your application action using the mapped event arguments → End.