Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

How to create a flow for triggering quick discovery when a server provisioning request completes?

Neha Maurya
Tera Contributor

Whenever a new server is provisioned, we need the server to be discovered as soon as the provisioning request is completed. How can we achieve it from flow designer?

#flow

#flowdesigner

#triggerdiscovery

2 REPLIES 2

shalinisharma
Tera Contributor

Hi Neha, 

 

You can create a flow action and run a script. You can run a quick discovery using the function DiscoveryQuickScan().

Check the below article for more information.

 

https://www.servicenow.com/community/developer-forum/how-to-run-a-quick-discovery-from-run-script-in...

shalinisharma
Tera Contributor

Run DiscoverNow from a script using multiple IP addresses 

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0549380