@sonisoft/now-sdk-ext-cli 5.3.0 → 5.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +187 -74
- package/dist/commands/transaction/kill.d.ts +12 -0
- package/dist/commands/transaction/kill.d.ts.map +1 -0
- package/dist/commands/transaction/kill.js +48 -0
- package/dist/commands/transaction/kill.js.map +1 -0
- package/dist/commands/transaction/list.d.ts +20 -0
- package/dist/commands/transaction/list.d.ts.map +1 -0
- package/dist/commands/transaction/list.js +64 -0
- package/dist/commands/transaction/list.js.map +1 -0
- package/dist/services/transaction-display.service.d.ts +5 -0
- package/dist/services/transaction-display.service.d.ts.map +1 -0
- package/dist/services/transaction-display.service.js +33 -0
- package/dist/services/transaction-display.service.js.map +1 -0
- package/oclif.manifest.json +1019 -758
- package/package.json +4 -1
package/README.md
CHANGED
|
@@ -95,6 +95,7 @@ Execute individual ATF tests or entire test suites with detailed results, perfec
|
|
|
95
95
|
- [Query & Search](#query--search)
|
|
96
96
|
- [Aggregate & Analytics](#aggregate--analytics)
|
|
97
97
|
- [Instance Health Check](#instance-health-check)
|
|
98
|
+
- [Cluster Transactions](#cluster-transactions)
|
|
98
99
|
- [Flow Designer](#flow-designer-operations)
|
|
99
100
|
- [Bulk Operations](#bulk-record-operations)
|
|
100
101
|
- [All Commands](#-commands)
|
|
@@ -474,6 +475,23 @@ nex health check --json --auth dev
|
|
|
474
475
|
- Operational counts (open incidents, changes, problems)
|
|
475
476
|
- Color-coded status indicators
|
|
476
477
|
|
|
478
|
+
### Cluster Transactions
|
|
479
|
+
|
|
480
|
+
Discover active transactions from all responding ServiceNow cluster nodes, then submit a request for one exact transaction when necessary.
|
|
481
|
+
|
|
482
|
+
```bash
|
|
483
|
+
# List active transactions
|
|
484
|
+
nex transaction list --auth dev
|
|
485
|
+
|
|
486
|
+
# Return complete, untruncated records as JSON
|
|
487
|
+
nex transaction list --json --auth dev
|
|
488
|
+
|
|
489
|
+
# Submit a kill request for one deliberately selected transaction
|
|
490
|
+
nex transaction kill --transaction-id 8f9a1234567890abcdef1234567890c1 --confirm --auth dev
|
|
491
|
+
```
|
|
492
|
+
|
|
493
|
+
> **Warning:** A kill request aborts real work. Only pass an identifier you deliberately selected from a current `nex transaction list` result. Platform acceptance does not mean the transaction has cleared immediately; run a separate later list to confirm.
|
|
494
|
+
|
|
477
495
|
### Flow Designer Operations
|
|
478
496
|
|
|
479
497
|
Execute and manage Flow Designer flows, subflows, and actions from the CLI.
|
|
@@ -597,6 +615,9 @@ nex bulk update --table incident --query "state=7" --data '{"active":"false"}' -
|
|
|
597
615
|
* [Check only version and stuck jobs](#check-only-version-and-stuck-jobs)
|
|
598
616
|
* [Health check with custom stuck job threshold (60 minutes)](#health-check-with-custom-stuck-job-threshold-60-minutes)
|
|
599
617
|
* [JSON output for monitoring/alerting](#json-output-for-monitoringalerting)
|
|
618
|
+
* [List active transactions](#list-active-transactions)
|
|
619
|
+
* [Return complete, untruncated records as JSON](#return-complete-untruncated-records-as-json)
|
|
620
|
+
* [Submit a kill request for one deliberately selected transaction](#submit-a-kill-request-for-one-deliberately-selected-transaction)
|
|
600
621
|
* [Execute a flow in foreground (waits for completion)](#execute-a-flow-in-foreground-waits-for-completion)
|
|
601
622
|
* [Execute with inputs](#execute-with-inputs)
|
|
602
623
|
* [Execute a subflow](#execute-a-subflow)
|
|
@@ -708,7 +729,7 @@ $ npm install -g @sonisoft/now-sdk-ext-cli
|
|
|
708
729
|
$ nex COMMAND
|
|
709
730
|
running command...
|
|
710
731
|
$ nex (--version)
|
|
711
|
-
@sonisoft/now-sdk-ext-cli/5.
|
|
732
|
+
@sonisoft/now-sdk-ext-cli/5.4.0 linux-x64 node-v26.5.0
|
|
712
733
|
$ nex --help [COMMAND]
|
|
713
734
|
USAGE
|
|
714
735
|
$ nex COMMAND
|
|
@@ -818,6 +839,8 @@ rather than silently denying nothing.
|
|
|
818
839
|
* [`nex task comment`](#nex-task-comment)
|
|
819
840
|
* [`nex task find`](#nex-task-find)
|
|
820
841
|
* [`nex task resolve`](#nex-task-resolve)
|
|
842
|
+
* [`nex transaction kill`](#nex-transaction-kill)
|
|
843
|
+
* [`nex transaction list`](#nex-transaction-list)
|
|
821
844
|
* [`nex update-set`](#nex-update-set)
|
|
822
845
|
* [`nex update-set clone`](#nex-update-set-clone)
|
|
823
846
|
* [`nex update-set create`](#nex-update-set-create)
|
|
@@ -882,7 +905,7 @@ EXAMPLES
|
|
|
882
905
|
$ nex aggregate count --table incident --query "active=true" --json --auth dev
|
|
883
906
|
```
|
|
884
907
|
|
|
885
|
-
_See code: [src/commands/aggregate/count.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
908
|
+
_See code: [src/commands/aggregate/count.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/aggregate/count.ts)_
|
|
886
909
|
|
|
887
910
|
## `nex aggregate group`
|
|
888
911
|
|
|
@@ -950,7 +973,7 @@ EXAMPLES
|
|
|
950
973
|
$ nex aggregate group --table incident --group-by priority --count --having "count>10" --auth dev
|
|
951
974
|
```
|
|
952
975
|
|
|
953
|
-
_See code: [src/commands/aggregate/group.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
976
|
+
_See code: [src/commands/aggregate/group.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/aggregate/group.ts)_
|
|
954
977
|
|
|
955
978
|
## `nex aggregate query`
|
|
956
979
|
|
|
@@ -1013,7 +1036,7 @@ EXAMPLES
|
|
|
1013
1036
|
$ nex aggregate query --table incident --sum reassignment_count --json --auth dev
|
|
1014
1037
|
```
|
|
1015
1038
|
|
|
1016
|
-
_See code: [src/commands/aggregate/query.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1039
|
+
_See code: [src/commands/aggregate/query.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/aggregate/query.ts)_
|
|
1017
1040
|
|
|
1018
1041
|
## `nex app`
|
|
1019
1042
|
|
|
@@ -1076,7 +1099,7 @@ EXAMPLES
|
|
|
1076
1099
|
$ nex app -u -i a1b2c3d4e5f6 -s x_my_custom_app -a dev-instance
|
|
1077
1100
|
```
|
|
1078
1101
|
|
|
1079
|
-
_See code: [src/commands/app/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1102
|
+
_See code: [src/commands/app/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/app/index.ts)_
|
|
1080
1103
|
|
|
1081
1104
|
## `nex app install`
|
|
1082
1105
|
|
|
@@ -1144,7 +1167,7 @@ EXAMPLES
|
|
|
1144
1167
|
$ nex app install -b -d ./apps.json -a dev-instance --log-level debug
|
|
1145
1168
|
```
|
|
1146
1169
|
|
|
1147
|
-
_See code: [src/commands/app/install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1170
|
+
_See code: [src/commands/app/install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/app/install.ts)_
|
|
1148
1171
|
|
|
1149
1172
|
## `nex app repo-install`
|
|
1150
1173
|
|
|
@@ -1229,7 +1252,7 @@ EXAMPLES
|
|
|
1229
1252
|
$ nex app repo-install -s x_my_app -a dev-instance --log-level debug
|
|
1230
1253
|
```
|
|
1231
1254
|
|
|
1232
|
-
_See code: [src/commands/app/repo-install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1255
|
+
_See code: [src/commands/app/repo-install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/app/repo-install.ts)_
|
|
1233
1256
|
|
|
1234
1257
|
## `nex app repo-list`
|
|
1235
1258
|
|
|
@@ -1304,7 +1327,7 @@ EXAMPLES
|
|
|
1304
1327
|
$ nex app repo-list -a dev-instance
|
|
1305
1328
|
```
|
|
1306
1329
|
|
|
1307
|
-
_See code: [src/commands/app/repo-list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1330
|
+
_See code: [src/commands/app/repo-list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/app/repo-list.ts)_
|
|
1308
1331
|
|
|
1309
1332
|
## `nex app uninstall`
|
|
1310
1333
|
|
|
@@ -1366,7 +1389,7 @@ EXAMPLES
|
|
|
1366
1389
|
$ nex app uninstall -i a1b2c3d4e5f6 -s x_my_custom_app -a dev-instance
|
|
1367
1390
|
```
|
|
1368
1391
|
|
|
1369
|
-
_See code: [src/commands/app/uninstall.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1392
|
+
_See code: [src/commands/app/uninstall.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/app/uninstall.ts)_
|
|
1370
1393
|
|
|
1371
1394
|
## `nex atf`
|
|
1372
1395
|
|
|
@@ -1449,7 +1472,7 @@ EXAMPLES
|
|
|
1449
1472
|
$ nex atf --suite-id e077e00b83103210621e78c6feaad383 --poll-interval 10000 --auth dev-instance
|
|
1450
1473
|
```
|
|
1451
1474
|
|
|
1452
|
-
_See code: [src/commands/atf/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1475
|
+
_See code: [src/commands/atf/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/atf/index.ts)_
|
|
1453
1476
|
|
|
1454
1477
|
## `nex attachment get`
|
|
1455
1478
|
|
|
@@ -1492,7 +1515,7 @@ EXAMPLES
|
|
|
1492
1515
|
$ nex attachment get -s att123 --json --auth dev
|
|
1493
1516
|
```
|
|
1494
1517
|
|
|
1495
|
-
_See code: [src/commands/attachment/get.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1518
|
+
_See code: [src/commands/attachment/get.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/attachment/get.ts)_
|
|
1496
1519
|
|
|
1497
1520
|
## `nex attachment list`
|
|
1498
1521
|
|
|
@@ -1537,7 +1560,7 @@ EXAMPLES
|
|
|
1537
1560
|
$ nex attachment list -t incident -r abc123 --limit 50 --json --auth dev
|
|
1538
1561
|
```
|
|
1539
1562
|
|
|
1540
|
-
_See code: [src/commands/attachment/list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1563
|
+
_See code: [src/commands/attachment/list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/attachment/list.ts)_
|
|
1541
1564
|
|
|
1542
1565
|
## `nex attachment upload`
|
|
1543
1566
|
|
|
@@ -1584,7 +1607,7 @@ EXAMPLES
|
|
|
1584
1607
|
$ nex attachment upload -t incident -r abc123 -f ./data.csv --content-type text/csv --auth dev
|
|
1585
1608
|
```
|
|
1586
1609
|
|
|
1587
|
-
_See code: [src/commands/attachment/upload.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1610
|
+
_See code: [src/commands/attachment/upload.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/attachment/upload.ts)_
|
|
1588
1611
|
|
|
1589
1612
|
## `nex auth delete [ALIAS]`
|
|
1590
1613
|
|
|
@@ -1619,7 +1642,7 @@ EXAMPLES
|
|
|
1619
1642
|
$ nex auth delete --all
|
|
1620
1643
|
```
|
|
1621
1644
|
|
|
1622
|
-
_See code: [src/commands/auth/delete.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1645
|
+
_See code: [src/commands/auth/delete.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/auth/delete.ts)_
|
|
1623
1646
|
|
|
1624
1647
|
## `nex auth doctor`
|
|
1625
1648
|
|
|
@@ -1647,7 +1670,7 @@ EXAMPLES
|
|
|
1647
1670
|
$ nex auth doctor --json
|
|
1648
1671
|
```
|
|
1649
1672
|
|
|
1650
|
-
_See code: [src/commands/auth/doctor.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1673
|
+
_See code: [src/commands/auth/doctor.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/auth/doctor.ts)_
|
|
1651
1674
|
|
|
1652
1675
|
## `nex auth list`
|
|
1653
1676
|
|
|
@@ -1680,7 +1703,7 @@ EXAMPLES
|
|
|
1680
1703
|
$ nex auth list --json
|
|
1681
1704
|
```
|
|
1682
1705
|
|
|
1683
|
-
_See code: [src/commands/auth/list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1706
|
+
_See code: [src/commands/auth/list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/auth/list.ts)_
|
|
1684
1707
|
|
|
1685
1708
|
## `nex auth use ALIAS`
|
|
1686
1709
|
|
|
@@ -1708,7 +1731,7 @@ EXAMPLES
|
|
|
1708
1731
|
$ nex auth use dev206299
|
|
1709
1732
|
```
|
|
1710
1733
|
|
|
1711
|
-
_See code: [src/commands/auth/use.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1734
|
+
_See code: [src/commands/auth/use.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/auth/use.ts)_
|
|
1712
1735
|
|
|
1713
1736
|
## `nex autocomplete [SHELL]`
|
|
1714
1737
|
|
|
@@ -1783,7 +1806,7 @@ EXAMPLES
|
|
|
1783
1806
|
$ nex batch create --file ./records.json --no-transaction --auth dev
|
|
1784
1807
|
```
|
|
1785
1808
|
|
|
1786
|
-
_See code: [src/commands/batch/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1809
|
+
_See code: [src/commands/batch/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/batch/create.ts)_
|
|
1787
1810
|
|
|
1788
1811
|
## `nex batch update`
|
|
1789
1812
|
|
|
@@ -1827,7 +1850,7 @@ EXAMPLES
|
|
|
1827
1850
|
$ nex batch update --file ./updates.json --stop-on-error --auth dev
|
|
1828
1851
|
```
|
|
1829
1852
|
|
|
1830
|
-
_See code: [src/commands/batch/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1853
|
+
_See code: [src/commands/batch/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/batch/update.ts)_
|
|
1831
1854
|
|
|
1832
1855
|
## `nex bulk delete`
|
|
1833
1856
|
|
|
@@ -1891,7 +1914,7 @@ EXAMPLES
|
|
|
1891
1914
|
$ nex bulk delete --table u_staging --query "processed=true" --confirm --json --auth dev
|
|
1892
1915
|
```
|
|
1893
1916
|
|
|
1894
|
-
_See code: [src/commands/bulk/delete.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1917
|
+
_See code: [src/commands/bulk/delete.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/bulk/delete.ts)_
|
|
1895
1918
|
|
|
1896
1919
|
## `nex bulk update`
|
|
1897
1920
|
|
|
@@ -1960,7 +1983,7 @@ EXAMPLES
|
|
|
1960
1983
|
$ nex bulk update --table incident --query "active=true" --data '{"state":"6"}' --confirm --json --auth dev
|
|
1961
1984
|
```
|
|
1962
1985
|
|
|
1963
|
-
_See code: [src/commands/bulk/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1986
|
+
_See code: [src/commands/bulk/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/bulk/update.ts)_
|
|
1964
1987
|
|
|
1965
1988
|
## `nex exec SCOPE [FILE]`
|
|
1966
1989
|
|
|
@@ -2090,7 +2113,7 @@ EXAMPLES
|
|
|
2090
2113
|
$ nex exec global ./script.js --auth dev-instance --params '{"token":"abc123","env":"dev"}'
|
|
2091
2114
|
```
|
|
2092
2115
|
|
|
2093
|
-
_See code: [src/commands/exec/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2116
|
+
_See code: [src/commands/exec/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/exec/index.ts)_
|
|
2094
2117
|
|
|
2095
2118
|
## `nex flow action`
|
|
2096
2119
|
|
|
@@ -2144,7 +2167,7 @@ EXAMPLES
|
|
|
2144
2167
|
'{"table":"incident","values":{"short_description":"Test"}}' --auth dev
|
|
2145
2168
|
```
|
|
2146
2169
|
|
|
2147
|
-
_See code: [src/commands/flow/action.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2170
|
+
_See code: [src/commands/flow/action.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/flow/action.ts)_
|
|
2148
2171
|
|
|
2149
2172
|
## `nex flow cancel`
|
|
2150
2173
|
|
|
@@ -2191,7 +2214,7 @@ EXAMPLES
|
|
|
2191
2214
|
$ nex flow cancel --context-id abc123def456 --reason "No longer needed" --auth dev
|
|
2192
2215
|
```
|
|
2193
2216
|
|
|
2194
|
-
_See code: [src/commands/flow/cancel.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2217
|
+
_See code: [src/commands/flow/cancel.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/flow/cancel.ts)_
|
|
2195
2218
|
|
|
2196
2219
|
## `nex flow copy`
|
|
2197
2220
|
|
|
@@ -2256,7 +2279,7 @@ EXAMPLES
|
|
|
2256
2279
|
dev
|
|
2257
2280
|
```
|
|
2258
2281
|
|
|
2259
|
-
_See code: [src/commands/flow/copy.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2282
|
+
_See code: [src/commands/flow/copy.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/flow/copy.ts)_
|
|
2260
2283
|
|
|
2261
2284
|
## `nex flow definition`
|
|
2262
2285
|
|
|
@@ -2329,7 +2352,7 @@ EXAMPLES
|
|
|
2329
2352
|
$ nex flow definition -i 887dda5583237210fdb8f7b6feaad32c --type action --json --auth dev | jq .summary.steps
|
|
2330
2353
|
```
|
|
2331
2354
|
|
|
2332
|
-
_See code: [src/commands/flow/definition.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2355
|
+
_See code: [src/commands/flow/definition.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/flow/definition.ts)_
|
|
2333
2356
|
|
|
2334
2357
|
## `nex flow details`
|
|
2335
2358
|
|
|
@@ -2390,7 +2413,7 @@ EXAMPLES
|
|
|
2390
2413
|
$ nex flow details -c d4e5f6789012345678abcdef01234567 --json --auth dev
|
|
2391
2414
|
```
|
|
2392
2415
|
|
|
2393
|
-
_See code: [src/commands/flow/details.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2416
|
+
_See code: [src/commands/flow/details.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/flow/details.ts)_
|
|
2394
2417
|
|
|
2395
2418
|
## `nex flow error`
|
|
2396
2419
|
|
|
@@ -2432,7 +2455,7 @@ EXAMPLES
|
|
|
2432
2455
|
$ nex flow error --context-id abc123def456 --auth dev
|
|
2433
2456
|
```
|
|
2434
2457
|
|
|
2435
|
-
_See code: [src/commands/flow/error.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2458
|
+
_See code: [src/commands/flow/error.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/flow/error.ts)_
|
|
2436
2459
|
|
|
2437
2460
|
## `nex flow logs`
|
|
2438
2461
|
|
|
@@ -2490,7 +2513,7 @@ EXAMPLES
|
|
|
2490
2513
|
$ nex flow logs -c d4e5f6789012345678abcdef01234567 --json --auth dev
|
|
2491
2514
|
```
|
|
2492
2515
|
|
|
2493
|
-
_See code: [src/commands/flow/logs.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2516
|
+
_See code: [src/commands/flow/logs.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/flow/logs.ts)_
|
|
2494
2517
|
|
|
2495
2518
|
## `nex flow message`
|
|
2496
2519
|
|
|
@@ -2540,7 +2563,7 @@ EXAMPLES
|
|
|
2540
2563
|
$ nex flow message --context-id abc123def456 --message "data_ready" --payload '{"status":"ok"}' --auth dev
|
|
2541
2564
|
```
|
|
2542
2565
|
|
|
2543
|
-
_See code: [src/commands/flow/message.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2566
|
+
_See code: [src/commands/flow/message.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/flow/message.ts)_
|
|
2544
2567
|
|
|
2545
2568
|
## `nex flow outputs`
|
|
2546
2569
|
|
|
@@ -2586,7 +2609,7 @@ EXAMPLES
|
|
|
2586
2609
|
$ nex flow outputs --context-id abc123def456 --json --auth dev
|
|
2587
2610
|
```
|
|
2588
2611
|
|
|
2589
|
-
_See code: [src/commands/flow/outputs.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2612
|
+
_See code: [src/commands/flow/outputs.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/flow/outputs.ts)_
|
|
2590
2613
|
|
|
2591
2614
|
## `nex flow run`
|
|
2592
2615
|
|
|
@@ -2652,7 +2675,7 @@ EXAMPLES
|
|
|
2652
2675
|
$ nex flow run --name global.my_flow --mode background --auth dev
|
|
2653
2676
|
```
|
|
2654
2677
|
|
|
2655
|
-
_See code: [src/commands/flow/run.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2678
|
+
_See code: [src/commands/flow/run.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/flow/run.ts)_
|
|
2656
2679
|
|
|
2657
2680
|
## `nex flow status`
|
|
2658
2681
|
|
|
@@ -2696,7 +2719,7 @@ EXAMPLES
|
|
|
2696
2719
|
$ nex flow status --context-id abc123def456 --auth dev
|
|
2697
2720
|
```
|
|
2698
2721
|
|
|
2699
|
-
_See code: [src/commands/flow/status.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2722
|
+
_See code: [src/commands/flow/status.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/flow/status.ts)_
|
|
2700
2723
|
|
|
2701
2724
|
## `nex flow subflow`
|
|
2702
2725
|
|
|
@@ -2756,7 +2779,7 @@ EXAMPLES
|
|
|
2756
2779
|
$ nex flow subflow --name x_myapp.process_record --inputs '{"table":"incident","sys_id":"abc123"}' --auth dev
|
|
2757
2780
|
```
|
|
2758
2781
|
|
|
2759
|
-
_See code: [src/commands/flow/subflow.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2782
|
+
_See code: [src/commands/flow/subflow.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/flow/subflow.ts)_
|
|
2760
2783
|
|
|
2761
2784
|
## `nex flow test`
|
|
2762
2785
|
|
|
@@ -2819,7 +2842,7 @@ EXAMPLES
|
|
|
2819
2842
|
$ nex flow test -f 887dda5583237210fdb8f7b6feaad32c -o '{"current":"abc123"}' --json --auth dev
|
|
2820
2843
|
```
|
|
2821
2844
|
|
|
2822
|
-
_See code: [src/commands/flow/test.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2845
|
+
_See code: [src/commands/flow/test.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/flow/test.ts)_
|
|
2823
2846
|
|
|
2824
2847
|
## `nex health check`
|
|
2825
2848
|
|
|
@@ -2889,7 +2912,7 @@ EXAMPLES
|
|
|
2889
2912
|
$ nex health check --json --auth dev
|
|
2890
2913
|
```
|
|
2891
2914
|
|
|
2892
|
-
_See code: [src/commands/health/check.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2915
|
+
_See code: [src/commands/health/check.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/health/check.ts)_
|
|
2893
2916
|
|
|
2894
2917
|
## `nex help [COMMAND]`
|
|
2895
2918
|
|
|
@@ -3025,7 +3048,7 @@ EXAMPLES
|
|
|
3025
3048
|
$ nex log --no-color --auth dev-instance
|
|
3026
3049
|
```
|
|
3027
3050
|
|
|
3028
|
-
_See code: [src/commands/log/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
3051
|
+
_See code: [src/commands/log/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/log/index.ts)_
|
|
3029
3052
|
|
|
3030
3053
|
## `nex plugins`
|
|
3031
3054
|
|
|
@@ -3347,7 +3370,7 @@ EXAMPLES
|
|
|
3347
3370
|
NEX_POLICY_DENY=all nex policy status
|
|
3348
3371
|
```
|
|
3349
3372
|
|
|
3350
|
-
_See code: [src/commands/policy/status.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
3373
|
+
_See code: [src/commands/policy/status.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/policy/status.ts)_
|
|
3351
3374
|
|
|
3352
3375
|
## `nex query`
|
|
3353
3376
|
|
|
@@ -3410,7 +3433,7 @@ EXAMPLES
|
|
|
3410
3433
|
$ nex query --table sys_user --query "active=true" --limit 5 --json --auth dev
|
|
3411
3434
|
```
|
|
3412
3435
|
|
|
3413
|
-
_See code: [src/commands/query/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
3436
|
+
_See code: [src/commands/query/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/query/index.ts)_
|
|
3414
3437
|
|
|
3415
3438
|
## `nex query app`
|
|
3416
3439
|
|
|
@@ -3463,7 +3486,7 @@ EXAMPLES
|
|
|
3463
3486
|
$ nex query app --search "HR" --active --auth dev
|
|
3464
3487
|
```
|
|
3465
3488
|
|
|
3466
|
-
_See code: [src/commands/query/app.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
3489
|
+
_See code: [src/commands/query/app.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/query/app.ts)_
|
|
3467
3490
|
|
|
3468
3491
|
## `nex query columns`
|
|
3469
3492
|
|
|
@@ -3518,7 +3541,7 @@ EXAMPLES
|
|
|
3518
3541
|
$ nex query columns --table incident --json --auth dev
|
|
3519
3542
|
```
|
|
3520
3543
|
|
|
3521
|
-
_See code: [src/commands/query/columns.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
3544
|
+
_See code: [src/commands/query/columns.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/query/columns.ts)_
|
|
3522
3545
|
|
|
3523
3546
|
## `nex query syslog`
|
|
3524
3547
|
|
|
@@ -3575,7 +3598,7 @@ EXAMPLES
|
|
|
3575
3598
|
$ nex query syslog --query "sourceLIKEincident" --json --auth dev
|
|
3576
3599
|
```
|
|
3577
3600
|
|
|
3578
|
-
_See code: [src/commands/query/syslog.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
3601
|
+
_See code: [src/commands/query/syslog.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/query/syslog.ts)_
|
|
3579
3602
|
|
|
3580
3603
|
## `nex schema`
|
|
3581
3604
|
|
|
@@ -3634,7 +3657,7 @@ EXAMPLES
|
|
|
3634
3657
|
$ nex schema --table incident --include-choices --include-relationships --auth dev
|
|
3635
3658
|
```
|
|
3636
3659
|
|
|
3637
|
-
_See code: [src/commands/schema/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
3660
|
+
_See code: [src/commands/schema/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/schema/index.ts)_
|
|
3638
3661
|
|
|
3639
3662
|
## `nex schema field`
|
|
3640
3663
|
|
|
@@ -3681,7 +3704,7 @@ EXAMPLES
|
|
|
3681
3704
|
$ nex schema field --table incident --field priority --json --auth dev
|
|
3682
3705
|
```
|
|
3683
3706
|
|
|
3684
|
-
_See code: [src/commands/schema/field.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
3707
|
+
_See code: [src/commands/schema/field.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/schema/field.ts)_
|
|
3685
3708
|
|
|
3686
3709
|
## `nex schema validate-catalog`
|
|
3687
3710
|
|
|
@@ -3727,7 +3750,7 @@ EXAMPLES
|
|
|
3727
3750
|
$ nex schema validate-catalog --sys-id a1b2c3d4e5f6 --json --auth dev
|
|
3728
3751
|
```
|
|
3729
3752
|
|
|
3730
|
-
_See code: [src/commands/schema/validate-catalog.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
3753
|
+
_See code: [src/commands/schema/validate-catalog.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/schema/validate-catalog.ts)_
|
|
3731
3754
|
|
|
3732
3755
|
## `nex scope`
|
|
3733
3756
|
|
|
@@ -3774,7 +3797,7 @@ EXAMPLES
|
|
|
3774
3797
|
$ nex scope -l --json --auth dev
|
|
3775
3798
|
```
|
|
3776
3799
|
|
|
3777
|
-
_See code: [src/commands/scope/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
3800
|
+
_See code: [src/commands/scope/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/scope/index.ts)_
|
|
3778
3801
|
|
|
3779
3802
|
## `nex scope set`
|
|
3780
3803
|
|
|
@@ -3817,7 +3840,7 @@ EXAMPLES
|
|
|
3817
3840
|
$ nex scope set -a abc123def456ghi789jkl012mno345pq --json --auth dev
|
|
3818
3841
|
```
|
|
3819
3842
|
|
|
3820
|
-
_See code: [src/commands/scope/set.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
3843
|
+
_See code: [src/commands/scope/set.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/scope/set.ts)_
|
|
3821
3844
|
|
|
3822
3845
|
## `nex script-sync pull`
|
|
3823
3846
|
|
|
@@ -3877,7 +3900,7 @@ EXAMPLES
|
|
|
3877
3900
|
$ nex script-sync pull -n MyClientScript -t sys_script_client --json --auth dev-instance
|
|
3878
3901
|
```
|
|
3879
3902
|
|
|
3880
|
-
_See code: [src/commands/script-sync/pull.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
3903
|
+
_See code: [src/commands/script-sync/pull.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/script-sync/pull.ts)_
|
|
3881
3904
|
|
|
3882
3905
|
## `nex script-sync push`
|
|
3883
3906
|
|
|
@@ -3938,7 +3961,7 @@ EXAMPLES
|
|
|
3938
3961
|
$ nex script-sync push -n MyUIScript -t sys_ui_script -f ./scripts/ui-script.js --json --auth dev-instance
|
|
3939
3962
|
```
|
|
3940
3963
|
|
|
3941
|
-
_See code: [src/commands/script-sync/push.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
3964
|
+
_See code: [src/commands/script-sync/push.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/script-sync/push.ts)_
|
|
3942
3965
|
|
|
3943
3966
|
## `nex script-sync sync`
|
|
3944
3967
|
|
|
@@ -3997,7 +4020,7 @@ EXAMPLES
|
|
|
3997
4020
|
$ nex script-sync sync -d ./scripts --json --auth dev-instance
|
|
3998
4021
|
```
|
|
3999
4022
|
|
|
4000
|
-
_See code: [src/commands/script-sync/sync.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4023
|
+
_See code: [src/commands/script-sync/sync.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/script-sync/sync.ts)_
|
|
4001
4024
|
|
|
4002
4025
|
## `nex search`
|
|
4003
4026
|
|
|
@@ -4064,7 +4087,7 @@ EXAMPLES
|
|
|
4064
4087
|
$ nex search --term "GlideRecord" --limit 10 --json --auth dev-instance
|
|
4065
4088
|
```
|
|
4066
4089
|
|
|
4067
|
-
_See code: [src/commands/search/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4090
|
+
_See code: [src/commands/search/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/search/index.ts)_
|
|
4068
4091
|
|
|
4069
4092
|
## `nex search add-table`
|
|
4070
4093
|
|
|
@@ -4124,7 +4147,7 @@ EXAMPLES
|
|
|
4124
4147
|
dev-instance
|
|
4125
4148
|
```
|
|
4126
4149
|
|
|
4127
|
-
_See code: [src/commands/search/add-table.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4150
|
+
_See code: [src/commands/search/add-table.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/search/add-table.ts)_
|
|
4128
4151
|
|
|
4129
4152
|
## `nex search groups`
|
|
4130
4153
|
|
|
@@ -4173,7 +4196,7 @@ EXAMPLES
|
|
|
4173
4196
|
$ nex search groups --json --auth dev-instance
|
|
4174
4197
|
```
|
|
4175
4198
|
|
|
4176
|
-
_See code: [src/commands/search/groups.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4199
|
+
_See code: [src/commands/search/groups.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/search/groups.ts)_
|
|
4177
4200
|
|
|
4178
4201
|
## `nex search tables`
|
|
4179
4202
|
|
|
@@ -4224,7 +4247,7 @@ EXAMPLES
|
|
|
4224
4247
|
$ nex search tables --search-group "Business Rules" --json --auth dev-instance
|
|
4225
4248
|
```
|
|
4226
4249
|
|
|
4227
|
-
_See code: [src/commands/search/tables.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4250
|
+
_See code: [src/commands/search/tables.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/search/tables.ts)_
|
|
4228
4251
|
|
|
4229
4252
|
## `nex store install`
|
|
4230
4253
|
|
|
@@ -4277,7 +4300,7 @@ EXAMPLES
|
|
|
4277
4300
|
$ nex store install -a abc123 -v 1.0.0 --demo-data --auth dev
|
|
4278
4301
|
```
|
|
4279
4302
|
|
|
4280
|
-
_See code: [src/commands/store/install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4303
|
+
_See code: [src/commands/store/install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/store/install.ts)_
|
|
4281
4304
|
|
|
4282
4305
|
## `nex store search`
|
|
4283
4306
|
|
|
@@ -4328,7 +4351,7 @@ EXAMPLES
|
|
|
4328
4351
|
$ nex store search --tab updates --limit 10 --auth dev
|
|
4329
4352
|
```
|
|
4330
4353
|
|
|
4331
|
-
_See code: [src/commands/store/search.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4354
|
+
_See code: [src/commands/store/search.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/store/search.ts)_
|
|
4332
4355
|
|
|
4333
4356
|
## `nex store update`
|
|
4334
4357
|
|
|
@@ -4380,7 +4403,7 @@ EXAMPLES
|
|
|
4380
4403
|
$ nex store update -a abc123 -v 2.0.0 --timeout 3600000 --auth dev
|
|
4381
4404
|
```
|
|
4382
4405
|
|
|
4383
|
-
_See code: [src/commands/store/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4406
|
+
_See code: [src/commands/store/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/store/update.ts)_
|
|
4384
4407
|
|
|
4385
4408
|
## `nex store validate`
|
|
4386
4409
|
|
|
@@ -4419,7 +4442,7 @@ EXAMPLES
|
|
|
4419
4442
|
$ nex store validate --file ./batch-definition.json --auth dev
|
|
4420
4443
|
```
|
|
4421
4444
|
|
|
4422
|
-
_See code: [src/commands/store/validate.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4445
|
+
_See code: [src/commands/store/validate.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/store/validate.ts)_
|
|
4423
4446
|
|
|
4424
4447
|
## `nex task approve`
|
|
4425
4448
|
|
|
@@ -4470,7 +4493,7 @@ EXAMPLES
|
|
|
4470
4493
|
$ nex task approve -n CHG0010001 -c "Looks good, approved" --auth dev
|
|
4471
4494
|
```
|
|
4472
4495
|
|
|
4473
|
-
_See code: [src/commands/task/approve.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4496
|
+
_See code: [src/commands/task/approve.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/task/approve.ts)_
|
|
4474
4497
|
|
|
4475
4498
|
## `nex task assign`
|
|
4476
4499
|
|
|
@@ -4531,7 +4554,7 @@ EXAMPLES
|
|
|
4531
4554
|
$ nex task assign --number CHG0010001 --table change_request --user admin --auth dev
|
|
4532
4555
|
```
|
|
4533
4556
|
|
|
4534
|
-
_See code: [src/commands/task/assign.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4557
|
+
_See code: [src/commands/task/assign.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/task/assign.ts)_
|
|
4535
4558
|
|
|
4536
4559
|
## `nex task close`
|
|
4537
4560
|
|
|
@@ -4585,7 +4608,7 @@ EXAMPLES
|
|
|
4585
4608
|
$ nex task close -n INC0010001 --notes "Closed" --close-code "Solved (Permanently)" --auth dev
|
|
4586
4609
|
```
|
|
4587
4610
|
|
|
4588
|
-
_See code: [src/commands/task/close.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4611
|
+
_See code: [src/commands/task/close.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/task/close.ts)_
|
|
4589
4612
|
|
|
4590
4613
|
## `nex task comment`
|
|
4591
4614
|
|
|
@@ -4645,7 +4668,7 @@ EXAMPLES
|
|
|
4645
4668
|
$ nex task comment --number CHG0010001 --table change_request --comment "Approved" --auth dev
|
|
4646
4669
|
```
|
|
4647
4670
|
|
|
4648
|
-
_See code: [src/commands/task/comment.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4671
|
+
_See code: [src/commands/task/comment.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/task/comment.ts)_
|
|
4649
4672
|
|
|
4650
4673
|
## `nex task find`
|
|
4651
4674
|
|
|
@@ -4701,7 +4724,7 @@ EXAMPLES
|
|
|
4701
4724
|
$ nex task find -n INC0010001 --json --auth dev
|
|
4702
4725
|
```
|
|
4703
4726
|
|
|
4704
|
-
_See code: [src/commands/task/find.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4727
|
+
_See code: [src/commands/task/find.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/task/find.ts)_
|
|
4705
4728
|
|
|
4706
4729
|
## `nex task resolve`
|
|
4707
4730
|
|
|
@@ -4755,7 +4778,97 @@ EXAMPLES
|
|
|
4755
4778
|
$ nex task resolve -n INC0010001 --notes "Fixed" --close-code "Solved (Permanently)" --auth dev
|
|
4756
4779
|
```
|
|
4757
4780
|
|
|
4758
|
-
_See code: [src/commands/task/resolve.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4781
|
+
_See code: [src/commands/task/resolve.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/task/resolve.ts)_
|
|
4782
|
+
|
|
4783
|
+
## `nex transaction kill`
|
|
4784
|
+
|
|
4785
|
+
Submit a request to terminate one active transaction. Platform acceptance does not mean immediate removal.
|
|
4786
|
+
|
|
4787
|
+
```
|
|
4788
|
+
USAGE
|
|
4789
|
+
$ nex transaction kill -t <value> [--json] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir
|
|
4790
|
+
<value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [--confirm]
|
|
4791
|
+
|
|
4792
|
+
FLAGS
|
|
4793
|
+
-a, --auth=<value> Auth alias to use.
|
|
4794
|
+
-t, --transaction-id=<value> (required) Exact 32-character hexadecimal sys_id from `nex transaction list`.
|
|
4795
|
+
--confirm Confirm submission of the kill request.
|
|
4796
|
+
|
|
4797
|
+
GLOBAL FLAGS
|
|
4798
|
+
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
4799
|
+
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
4800
|
+
--deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
|
|
4801
|
+
--deny-write Refuse any change to instance data for this invocation.
|
|
4802
|
+
--json Format output as json.
|
|
4803
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
4804
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
4805
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
4806
|
+
stderr only.
|
|
4807
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
4808
|
+
<options: debug|warn|error|info|trace>
|
|
4809
|
+
--read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
|
|
4810
|
+
unaffected.
|
|
4811
|
+
|
|
4812
|
+
DESCRIPTION
|
|
4813
|
+
Submit a request to terminate one active transaction. Platform acceptance does not mean immediate removal.
|
|
4814
|
+
|
|
4815
|
+
Only pass an identifier you deliberately selected from `nex transaction list`. Killing another user's transaction
|
|
4816
|
+
aborts their work.
|
|
4817
|
+
|
|
4818
|
+
EXAMPLES
|
|
4819
|
+
$ nex transaction kill --transaction-id 8f9a1234567890abcdef1234567890c1 --confirm --auth dev
|
|
4820
|
+
|
|
4821
|
+
$ nex transaction kill --transaction-id 8f9a1234567890abcdef1234567890c1 --confirm --json --auth dev
|
|
4822
|
+
```
|
|
4823
|
+
|
|
4824
|
+
_See code: [src/commands/transaction/kill.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/transaction/kill.ts)_
|
|
4825
|
+
|
|
4826
|
+
## `nex transaction list`
|
|
4827
|
+
|
|
4828
|
+
List active transactions from all responding ServiceNow cluster nodes.
|
|
4829
|
+
|
|
4830
|
+
```
|
|
4831
|
+
USAGE
|
|
4832
|
+
$ nex transaction list [--json] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir <value>]
|
|
4833
|
+
[--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [-l <value>] [--poll-interval-ms <value>] [-q
|
|
4834
|
+
<value>] [--timeout-ms <value>]
|
|
4835
|
+
|
|
4836
|
+
FLAGS
|
|
4837
|
+
-a, --auth=<value> Auth alias to use.
|
|
4838
|
+
-l, --limit=<value> Maximum transactions to return. Core default: 1000.
|
|
4839
|
+
-q, --query=<value> Encoded query used to filter transactions. Core default: none.
|
|
4840
|
+
--poll-interval-ms=<value> Interval between collection status polls. Core default: 1000.
|
|
4841
|
+
--timeout-ms=<value> Collection timeout in milliseconds. Core default: 60000.
|
|
4842
|
+
|
|
4843
|
+
GLOBAL FLAGS
|
|
4844
|
+
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
4845
|
+
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
4846
|
+
--deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
|
|
4847
|
+
--deny-write Refuse any change to instance data for this invocation.
|
|
4848
|
+
--json Format output as json.
|
|
4849
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
4850
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
4851
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
4852
|
+
stderr only.
|
|
4853
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
4854
|
+
<options: debug|warn|error|info|trace>
|
|
4855
|
+
--read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
|
|
4856
|
+
unaffected.
|
|
4857
|
+
|
|
4858
|
+
DESCRIPTION
|
|
4859
|
+
List active transactions from all responding ServiceNow cluster nodes.
|
|
4860
|
+
|
|
4861
|
+
EXAMPLES
|
|
4862
|
+
$ nex transaction list --auth dev
|
|
4863
|
+
|
|
4864
|
+
$ nex transaction list --json --auth dev
|
|
4865
|
+
|
|
4866
|
+
$ nex transaction list --query "user=admin" --limit 50 --auth dev
|
|
4867
|
+
|
|
4868
|
+
$ nex transaction list --timeout-ms 120000 --poll-interval-ms 2000 --auth dev
|
|
4869
|
+
```
|
|
4870
|
+
|
|
4871
|
+
_See code: [src/commands/transaction/list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/transaction/list.ts)_
|
|
4759
4872
|
|
|
4760
4873
|
## `nex update-set`
|
|
4761
4874
|
|
|
@@ -4803,7 +4916,7 @@ EXAMPLES
|
|
|
4803
4916
|
$ nex update-set --json --auth dev-instance
|
|
4804
4917
|
```
|
|
4805
4918
|
|
|
4806
|
-
_See code: [src/commands/update-set/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4919
|
+
_See code: [src/commands/update-set/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/update-set/index.ts)_
|
|
4807
4920
|
|
|
4808
4921
|
## `nex update-set clone`
|
|
4809
4922
|
|
|
@@ -4847,7 +4960,7 @@ EXAMPLES
|
|
|
4847
4960
|
$ nex update-set clone --source us-001 --name "Cloned Set" --json --auth dev-instance
|
|
4848
4961
|
```
|
|
4849
4962
|
|
|
4850
|
-
_See code: [src/commands/update-set/clone.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4963
|
+
_See code: [src/commands/update-set/clone.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/update-set/clone.ts)_
|
|
4851
4964
|
|
|
4852
4965
|
## `nex update-set create`
|
|
4853
4966
|
|
|
@@ -4896,7 +5009,7 @@ EXAMPLES
|
|
|
4896
5009
|
$ nex update-set create --name "My Feature Set" --application x_my_app --auth dev-instance
|
|
4897
5010
|
```
|
|
4898
5011
|
|
|
4899
|
-
_See code: [src/commands/update-set/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
5012
|
+
_See code: [src/commands/update-set/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/update-set/create.ts)_
|
|
4900
5013
|
|
|
4901
5014
|
## `nex update-set current`
|
|
4902
5015
|
|
|
@@ -4943,7 +5056,7 @@ EXAMPLES
|
|
|
4943
5056
|
$ nex update-set current --json --auth dev-instance
|
|
4944
5057
|
```
|
|
4945
5058
|
|
|
4946
|
-
_See code: [src/commands/update-set/current.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
5059
|
+
_See code: [src/commands/update-set/current.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/update-set/current.ts)_
|
|
4947
5060
|
|
|
4948
5061
|
## `nex update-set inspect`
|
|
4949
5062
|
|
|
@@ -4986,7 +5099,7 @@ EXAMPLES
|
|
|
4986
5099
|
$ nex update-set inspect --sys-id us-001 --json --auth dev-instance
|
|
4987
5100
|
```
|
|
4988
5101
|
|
|
4989
|
-
_See code: [src/commands/update-set/inspect.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
5102
|
+
_See code: [src/commands/update-set/inspect.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/update-set/inspect.ts)_
|
|
4990
5103
|
|
|
4991
5104
|
## `nex update-set move`
|
|
4992
5105
|
|
|
@@ -5036,7 +5149,7 @@ EXAMPLES
|
|
|
5036
5149
|
$ nex update-set move --target us-002 --source us-001 --json --auth dev-instance
|
|
5037
5150
|
```
|
|
5038
5151
|
|
|
5039
|
-
_See code: [src/commands/update-set/move.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
5152
|
+
_See code: [src/commands/update-set/move.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/update-set/move.ts)_
|
|
5040
5153
|
|
|
5041
5154
|
## `nex workflow create`
|
|
5042
5155
|
|
|
@@ -5079,7 +5192,7 @@ EXAMPLES
|
|
|
5079
5192
|
$ nex workflow create -s ./workflow.json --json --auth dev
|
|
5080
5193
|
```
|
|
5081
5194
|
|
|
5082
|
-
_See code: [src/commands/workflow/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
5195
|
+
_See code: [src/commands/workflow/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/workflow/create.ts)_
|
|
5083
5196
|
|
|
5084
5197
|
## `nex workflow publish`
|
|
5085
5198
|
|
|
@@ -5123,7 +5236,7 @@ EXAMPLES
|
|
|
5123
5236
|
$ nex workflow publish -v wfv-001 -s act-001 --json --auth dev
|
|
5124
5237
|
```
|
|
5125
5238
|
|
|
5126
|
-
_See code: [src/commands/workflow/publish.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
5239
|
+
_See code: [src/commands/workflow/publish.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/workflow/publish.ts)_
|
|
5127
5240
|
|
|
5128
5241
|
## `nex xml export`
|
|
5129
5242
|
|
|
@@ -5181,7 +5294,7 @@ EXAMPLES
|
|
|
5181
5294
|
$ nex xml export --table sys_script --sys-id abc123 --json --auth dev
|
|
5182
5295
|
```
|
|
5183
5296
|
|
|
5184
|
-
_See code: [src/commands/xml/export.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
5297
|
+
_See code: [src/commands/xml/export.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/xml/export.ts)_
|
|
5185
5298
|
|
|
5186
5299
|
## `nex xml import`
|
|
5187
5300
|
|
|
@@ -5233,7 +5346,7 @@ EXAMPLES
|
|
|
5233
5346
|
$ nex xml import --file ./records.xml --table incident --json --auth dev
|
|
5234
5347
|
```
|
|
5235
5348
|
|
|
5236
|
-
_See code: [src/commands/xml/import.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
5349
|
+
_See code: [src/commands/xml/import.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/xml/import.ts)_
|
|
5237
5350
|
<!-- commandsstop -->
|
|
5238
5351
|
|
|
5239
5352
|
---
|