Configuring Communication Style

Choose whether to make the submit action for the menu item synchronous or asynchronous.

  1. In the Properties view for the menu item, select the Communication Style tab.
  2. Select from the options:
    Property Description
    Asynchronous Validates the data input on all open screens, closes the application, and sends the data to the server. Enter the confirmation message to submit to the server.
    Synchronous Validates the data input on all open screens, saves it, sends it to the server and waits for a response from the server before continuing.
    Note: When executing a synchronous Submit menu item, then subsequently closing the application, it is not treated as if it was processed. It is only treated as having been processed if the application was closed through an asynchronous Submit menuitem.

    Enter:

    • Submit error message – enter the message the user sees if there is an error.

      When an operation is invoked, the user can receive any error messages that may occur on the client application. The error messages are a single key of the list type with a single key of the string type as its child. Each of the child instances corresponds to an error message.

    • Timeout – enter the allowed amount of time to wait for the server to respond before timing out and giving an error message.
    • Success screen – select the screen to go to upon successful communication with the server.
    • Error screen – select the screen to go to if there is an error when submitting the data to the server.

    Click Generate Error Screen to generate error screens automatically.

  3. Select File > Save.