Run a discovery when ever a server is created through Catalog task

Phanideepthi
Tera Contributor

Hi All,

We have a catalog to build new server, There is a task to update the CI once it is created and when closing the task we made IP Address variable as mandatory to fill.

Now once the server is created they will fill the IP address and close the task. Once the task is closed we need to capture the IP address and run a AD-HOC Discovery on that server. Was trying that using Flow designer but we are using workflow for the catalog any help how to achieve that using Workflow.

 

Thanks

2 REPLIES 2

Rahul Priyadars
Giga Sage
Giga Sage

UI Action - Quick Discovery ...Do reverse engineering and call the same Code from your workflow.

Regards

RP

doug_schulze
ServiceNow Employee
ServiceNow Employee

You also have a API that you can call to trigger a discovery..

https://developer.servicenow.com/dev.do#!/reference/api/tokyo/server/sn_discovery-namespace/c_DiscoveryAPIScopedAPI