Is it possible to create a codeless service that process messages from channels?
I can publish messages to channels from an codeless “API Service”. I cannot find though how to subscribe to a channel and process messages using codeless. What do I overlook?
Hi Eric,
You can subscribe to process messages in Codeless in UI Builder (so it would be in a UI page), but not in Cloud Code. The reason for this is the Cloud Code supports short-lived logic, such as an API service, a timer, or an API event handler (the before/after logic for the mainstream API calls). Creating a messaging listener in Cloud Code would mean that the code needs to run all the time waiting for messages to arrive and the Cloud Code model doesn’t support that in the Backendless Cloud environment.
Regards,
Mark