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 51f80f5 commit c56ba8cCopy full SHA for c56ba8c
Server-Side Components/Background Scripts/IRE Simulation/readme.md
@@ -0,0 +1 @@
1
+Background script to test IRE simulation for specific CI .
Server-Side Components/Background Scripts/IRE Simulation/script.js
@@ -0,0 +1,20 @@
+/*
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