We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69c730d commit edaab25Copy full SHA for edaab25
Server-Side Components/Background Scripts/IRE Simulation/script.js
@@ -0,0 +1,20 @@
1
+/*
2
+Add class name and provide name and short description.
3
+
4
+*/
5
6
+var payload = {
7
+ "items": [
8
+ {
9
+ "className": "cmdb_ci_linux_server",
10
+ "values": {
11
+ "name": "Test_Linux_001",
12
+ "short_description": "My New Description"
13
+ }
14
15
+ ]
16
+};
17
+var jsonUtil = new JSON();
18
+var input = jsonUtil.encode(payload);
19
+var output = SNC.IdentificationEngineScriptableApi.createOrUpdateCI('ServiceNow', input);
20
+gs.print(output);
0 commit comments