Steps to follow:
Step 1: Open Mogo express
Step 2: Open “EntityStates” Collection in itops DB
Step 3: Find the latest entity rule id for the entity alert
Query = {'entity': 'alert'}
Projection = {"entityRuleId":1}
Sort by clicking “entityRuleId” field and find the largest value
Step 4: Check whether "entityRuleId" in are incremental to the latest entity rule id of alert available in db. If it is not, modify all “entityRuleId" fields in “script_for_alert_states.txt” sequentially starting with incremental value of latest entity rule id of alert available in db.
Step 5: Insert the Document
Click on “New Documents”
Copy and paste the script available ““script_for_alert_states.txt” ” and click save button.
Step to follow:
Step 1: Open Mongo express
Step 2: Open EntityStates Collection in itops DB
Step 3: Find the latest entity rule id for the entity ticket
Step 4: Check whether "entityRuleId" in are incremental to the latest entity rule id available in db. If it is not, modify all “entityRuleId" fields in “scripts_for_ticket_states.txt” sequentially starting with incremental value of latest entity rule id available in db.
Step 5: Insert the Document