Working with screen events

A ZIETrans event is a resource that performs a set of actions based on a certain state being reached. There are two types of ZIETrans events, application events and screen events. For more information about application events see Modifying a ZIETrans project. A screen event is a ZIETrans event that is triggered when a host screen is recognized by matching specific screen recognition criteria. There are two types of screen events, screen customizations and screen combinations.

A screen customization is a ZIETrans screen event designed to perform a set of actions when a host screen is recognized. Examples of screen customizations include recognizing a screen and transforming it into a GUI for the user or playing a macro to skip the screen. The screen customization definition includes a set of screen recognition criteria and a list of actions to be taken when a host screen matches the screen recognition criteria. Screen-level global rules and text replacement settings are also included. Use the Create a Screen Customization wizard to create a new screen customization.

A screen combination is a ZIETrans screen event designed to gather output data from consecutive, similar host screens, combine it, and display it in a single output page. An example of a screen combination includes recognizing a screen that contains only partial output data and navigating through all subsequent screens to gather all of the remaining data to display for the user. The screen combination definition includes a set of screen recognition criteria for both the beginning and ending screens to be combined, how to navigate from screen to screen, and the component and widget to use to recognize and render the data gathered from each screen. Also, it includes a list actions to be performed one or more times, screen-level global rules and text replacement settings. Use the Create a Screen Combination wizard to create a new screen combination.

Actions that can be performed in a screen event are listed below. For more details see Working with screen events.
  • Applying a transformation to the host screen
  • Calling Java™ methods to execute business logic
  • Extracting a value from the host screen into a global variable
  • Inserting data or the value of a global variable onto a host screen
  • Setting the value of a global variable
  • Removing a global variable
  • Displaying a specified Web page (URL) (Web-only)
  • Forwarding control to a URL (Web-only)
  • Running a macro
  • Running a macro transaction on a different connection.
  • Sending a key to the host application
  • Disconnecting the default connection immediately
  • Waiting a specified period of time