Move Discovery Credentials to other instance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2014 09:00 AM
Hi All,
In our project we work with multiple instances, and normally for UAT purpose we do manual discovery for devices for which issues are resolved.
However user are regularly updating device credentials on production environment but not on UAT. Hence at time of UAT we have to ask user to update credentials.
Is there anyway where we can move credentials from Prod to UAT ?
thanks,
Mandar
- Labels:
-
Discovery
-
Service Mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2014 09:23 AM
Hi Mandar,
You can export any record in ServiceNow by right clicking the header and choosing Export > XML and save it locally to your desktop. Then after elevating privileges on your target instance you can right click a list header and choose Import XML, select the file and it will replace the previous record with the same sys_id.
You could of course also fully automate the process by creating a new Inbound SOAP Web Service on your UAT instance (and a Transform Map) and then use a Business Rule on the credentials table of Prod to push the new record after it has been updated via an Outbound SOAP Message. An example of this is given on the SN Sys Admin or Advanced Sys Admin course i believe.
Andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2014 10:05 AM
I believe I have used the export/import method before. However I am not sure how well a SOAP data source would work with that table. The credentials themselves are encrypted. Would the data source be able to process that? I thought that SN wasn't able to add data to encrypted fields.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2014 10:10 AM
The important thins is to make sure you are pushing the data to UAT, not pulling it.
The encrypted fields will work fine, they are just strings once encrypted 🙂