No Workflow Message is Sent

Problem: After a new hybrid web container has been installed on a device, attempts to connect the device to Unwired Server or to send a data change notification (DCN) result in an error: No workflow message is sent because no device is found to send the notification.

Explanation: When a new application and application connection are created and registered from Sybase Control Center, by default there are no users associated with a device. Once a user invokes the workflow from the device, the device user binds to the application connection, and the device user appears in the Application User tab in Sybase Control Center.

In this case, the application and application user connection failed to bind when the user invoked the workflow from the device, resulting in a message similar to:

{"id":"dcntest_test_001","success":false,"statusMessage":
"no workflow message is sent because no device is found to send the notification"
,"result":[{"id":"dcntest_test_data_1","success":true,"statusMessage":""}]} 

Solution: To initiate the binding manually, instruct the user to invoke a workflow from the device, or run an MBS application on the device. This action should invoke a certain MBO query, which requires a Sybase Unwired Platform user.

  1. Invoke any other Unwired Platform application (for example, a client-initiated or server-initiated workflow application, or a native application), which maps an Unwired Platform application connection to an MBS user.
  2. Send the DCN with to":" < this SUP user >.