Looking for something that's not here? Let us know: support@tiggzi.com
Documentation‎ > ‎Services‎ > ‎Using on a screen‎ > ‎

Events

The REST Service component supports the following events when invoked:
  • Complete - this event is always called at the end, regardless whether the request was successful or an error occurred. 
  • Error - this event is only called if an error occurred with the request
  • Success - this event is called only if the request was successful. No errors from the service or errors in the data returned. 
A number of actions can be defined when an event is fired. For example, if the service returns an error, Error event can be used to invoke a custom JavaScript and notify the user of the error. Learn more about using Events and Actions

To add events for a REST Service, select the service on the screen (left-hand side area) and switch to Events tab. 

Learn how to use events to handle service errors.