reload
A MoogDb v2 method that takes a Situation (CMooBotSituation) or alert (CMooBotAlert) type of CEvent and refreshes the data in the payload but preserves the metadata. This method should be used instead of getSituation and getAlert if you want to update the event with the latest data from the database, and when you are forwarding an event on using situation.forward(<event>)
.
Back to MoogDb V2 API Method Reference.
Request arguments
Method reload
takes the following request arguments:
Name | Type | Required | Description |
---|---|---|---|
| CEvent | Yes | A CEvent object representing the alert, containing alert attributes, such as type or severity. |