Run a script post discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-21-2018 10:52 AM
I am looking for a way to trigger a script when discovery finishes. Is there any way that anyone knows of, that makes it easy to do that?
- Labels:
-
Discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-21-2018 02:04 PM
I expect you would create a Script Action triggered by the discovery.complete event.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-22-2018 12:33 AM
Hi,
Yes ,we can run a script after discovery is completed.
Whenever we schedule discovery and discover now, it creates a record in discovery status. You can see state filed which is present in discovery status table. It changes accordingly as state of the discovery changes.
We can write a script that will run whenever the "State" is "Completed".
What type of action you want to perform depending on that we can write a script ,for e.g Business Rule on state change to completed.
Please hit helpful if you find this information helpful.
Regrads,
Kiran