Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Here we are setting the "quantityInStock" to 5. Because of the event trigger, when the stock is less than 10, an event is fired. Soon you will receive an event notification to your mail inbox. Figure below shows the contents of the email attachment.

Here we are querying the inventory system for a specific motorcycle model.

Image Added

By making a request with the motorcycle product line, we are triggering an event associated with it. An email will be sent regarding this query. The contents of the email is as follows:

Image Added