Fri Sep 22 2023 04:49:12 GMT+0000 (Coordinated Universal Time)
Saved by @RahmanM #ire
var payload = { "items": [ { "className": "cmdb_ci_computer", "values": { "name": "ltequ1851" } } ] }; var input = new JSON().encode(payload); var output = SNC.IdentificationEngineScriptableApi.createOrUpdateCI('ServiceNow', input); gs.print(output);
#ire
#ire #identify #ci
var payload = { "items":[ { "className":"cmdb_ci_computer", "values":{ "name":"acanpiesx01" } } ] }; var jsonUntil = new JSON(); var input = jsonUntil.encode(payload); var output = SNC.IdentificationEngineScriptableApi.identifyCI(input); gs.print(output);
Copy this HTML code:
Preview:
open_in_newInstructions on embedding in Medium
Comments