Sending an Order Notification to the Device

Use the "Send a notification" option to send a message to the registered user, which tests the server notification process.

Prerequisites
Before sending notification to the client, you must:
  1. Register the Hybrid App connection in Sybase Control Center (SCC).
  2. Download and configure the Hybrid Web Container on the device or emulator.
Task
Use this method only for testing purposes, during development. In a production system, notifications would come in as DCN, or e-mail-based notifications.
  1. In the Flow Design of the Hybrid App Designer, right-click and select Send a notification.
  2. Select Get Device Users, and set the "To" field to User1, or whatever device user is registered in Sybase Control Center and assigned to the Hybrid App package.
  3. In the Subject field, enter a sales order that meets the matching rules criteria defined for the Sales_order Hybrid App. For example:
    Order (2001) created
  4. Click Send.
    The message is sent to the device. The number 2001 in the notification identifies and returns row 2001 (the findByParameter object query parameter).
Related concepts
Install and Configure the Hybrid Web Container On the Device
Related tasks
Registering or Reregistering Application Connections