|
• You cannot run an active analysis on a thing for the same event or alert by using the same model on multiple connections or clients because this would overwrite the same properties.
• If the event does not get any inputs for 120 seconds, the client disconnects. If the agent crashes, the simulation jobs remain in the INPROCESS state, and once the agent is up and running, the INPROCESS job moves to the FAILED state, and a new simulation job starts.
• Analysis tools should implement session storage to remember choices made by users. This will let users make selections easily for the next session while using the Analytics Manager services.
|
|
Ensure that you provide appropriate credentials or an application key to authenticate with the ThingWorx server.
|
|
Ensure that you follow the steps in order. If you find an analysis event after Step 1, skip the rest of the steps.
|
Steps
|
Run Services
|
||
---|---|---|---|
1. Search for an existing analysis event.
|
Run the FilterAnalysisEvents service to filter a list of events that have been already created on the thing that you have been connected to. You might get an empty result set, if the analysis events defined on the thing are in the ‘enabled’ state.
Once you obtain an event or a list of events, you can select the event on which you want to run the analysis.
|
||
2. Search for an existing analysis event that has been created on the thing template or thing shape that is implemented by the thing, and clone the analysis event.
|
• Run the FilterAnalysisEventForCloning service to filter out any events that have been defined on the thing, thing template, or thing shape. Only those events that are defined on thing templates and thing shapes that implement this thing are displayed in the results.
• Run the CloneAnalysisEvent service to clone the analysis event. Paste the value of the key field as the value of the eventId parameter of the CloneAnalysisEvent service.
|
||
3. If you do not find an existing analysis event that can be used or cloned, create an analysis event.
|
Run the CreateAnalysisEvent service to create an analysis event.
|