@sonisoft/now-sdk-ext-cli 2.1.0 → 2.3.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 +220 -65
- package/dist/commands/flow/copy.d.ts +17 -0
- package/dist/commands/flow/copy.d.ts.map +1 -0
- package/dist/commands/flow/copy.js +79 -0
- package/dist/commands/flow/copy.js.map +1 -0
- package/dist/commands/flow/details.d.ts +17 -0
- package/dist/commands/flow/details.d.ts.map +1 -0
- package/dist/commands/flow/details.js +75 -0
- package/dist/commands/flow/details.js.map +1 -0
- package/dist/commands/flow/logs.d.ts +17 -0
- package/dist/commands/flow/logs.d.ts.map +1 -0
- package/dist/commands/flow/logs.js +79 -0
- package/dist/commands/flow/logs.js.map +1 -0
- package/dist/services/flow-display.service.d.ts +11 -0
- package/dist/services/flow-display.service.d.ts.map +1 -1
- package/dist/services/flow-display.service.js +158 -0
- package/dist/services/flow-display.service.js.map +1 -1
- package/oclif.manifest.json +410 -118
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -639,7 +639,7 @@ $ npm install -g @sonisoft/now-sdk-ext-cli
|
|
|
639
639
|
$ nex COMMAND
|
|
640
640
|
running command...
|
|
641
641
|
$ nex (--version)
|
|
642
|
-
@sonisoft/now-sdk-ext-cli/2.
|
|
642
|
+
@sonisoft/now-sdk-ext-cli/2.3.0 linux-x64 node-v22.22.0
|
|
643
643
|
$ nex --help [COMMAND]
|
|
644
644
|
USAGE
|
|
645
645
|
$ nex COMMAND
|
|
@@ -669,7 +669,10 @@ USAGE
|
|
|
669
669
|
* [`nex exec SCOPE [FILE]`](#nex-exec-scope-file)
|
|
670
670
|
* [`nex flow action`](#nex-flow-action)
|
|
671
671
|
* [`nex flow cancel`](#nex-flow-cancel)
|
|
672
|
+
* [`nex flow copy`](#nex-flow-copy)
|
|
673
|
+
* [`nex flow details`](#nex-flow-details)
|
|
672
674
|
* [`nex flow error`](#nex-flow-error)
|
|
675
|
+
* [`nex flow logs`](#nex-flow-logs)
|
|
673
676
|
* [`nex flow message`](#nex-flow-message)
|
|
674
677
|
* [`nex flow outputs`](#nex-flow-outputs)
|
|
675
678
|
* [`nex flow run`](#nex-flow-run)
|
|
@@ -768,7 +771,7 @@ EXAMPLES
|
|
|
768
771
|
$ nex aggregate count --table incident --query "active=true" --json --auth dev
|
|
769
772
|
```
|
|
770
773
|
|
|
771
|
-
_See code: [src/commands/aggregate/count.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
774
|
+
_See code: [src/commands/aggregate/count.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/aggregate/count.ts)_
|
|
772
775
|
|
|
773
776
|
## `nex aggregate group`
|
|
774
777
|
|
|
@@ -825,7 +828,7 @@ EXAMPLES
|
|
|
825
828
|
$ nex aggregate group --table incident --group-by priority --count --having "count>10" --auth dev
|
|
826
829
|
```
|
|
827
830
|
|
|
828
|
-
_See code: [src/commands/aggregate/group.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
831
|
+
_See code: [src/commands/aggregate/group.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/aggregate/group.ts)_
|
|
829
832
|
|
|
830
833
|
## `nex aggregate query`
|
|
831
834
|
|
|
@@ -877,7 +880,7 @@ EXAMPLES
|
|
|
877
880
|
$ nex aggregate query --table incident --sum reassignment_count --json --auth dev
|
|
878
881
|
```
|
|
879
882
|
|
|
880
|
-
_See code: [src/commands/aggregate/query.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
883
|
+
_See code: [src/commands/aggregate/query.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/aggregate/query.ts)_
|
|
881
884
|
|
|
882
885
|
## `nex app`
|
|
883
886
|
|
|
@@ -929,7 +932,7 @@ EXAMPLES
|
|
|
929
932
|
$ nex app -u -i a1b2c3d4e5f6 -s x_my_custom_app -a dev-instance
|
|
930
933
|
```
|
|
931
934
|
|
|
932
|
-
_See code: [src/commands/app/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
935
|
+
_See code: [src/commands/app/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/app/index.ts)_
|
|
933
936
|
|
|
934
937
|
## `nex app install`
|
|
935
938
|
|
|
@@ -986,7 +989,7 @@ EXAMPLES
|
|
|
986
989
|
$ nex app install -b -d ./apps.json -a dev-instance --log-level debug
|
|
987
990
|
```
|
|
988
991
|
|
|
989
|
-
_See code: [src/commands/app/install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
992
|
+
_See code: [src/commands/app/install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/app/install.ts)_
|
|
990
993
|
|
|
991
994
|
## `nex app repo-install`
|
|
992
995
|
|
|
@@ -1060,7 +1063,7 @@ EXAMPLES
|
|
|
1060
1063
|
$ nex app repo-install -s x_my_app -a dev-instance --log-level debug
|
|
1061
1064
|
```
|
|
1062
1065
|
|
|
1063
|
-
_See code: [src/commands/app/repo-install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
1066
|
+
_See code: [src/commands/app/repo-install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/app/repo-install.ts)_
|
|
1064
1067
|
|
|
1065
1068
|
## `nex app repo-list`
|
|
1066
1069
|
|
|
@@ -1124,7 +1127,7 @@ EXAMPLES
|
|
|
1124
1127
|
$ nex app repo-list -a dev-instance
|
|
1125
1128
|
```
|
|
1126
1129
|
|
|
1127
|
-
_See code: [src/commands/app/repo-list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
1130
|
+
_See code: [src/commands/app/repo-list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/app/repo-list.ts)_
|
|
1128
1131
|
|
|
1129
1132
|
## `nex app uninstall`
|
|
1130
1133
|
|
|
@@ -1175,7 +1178,7 @@ EXAMPLES
|
|
|
1175
1178
|
$ nex app uninstall -i a1b2c3d4e5f6 -s x_my_custom_app -a dev-instance
|
|
1176
1179
|
```
|
|
1177
1180
|
|
|
1178
|
-
_See code: [src/commands/app/uninstall.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
1181
|
+
_See code: [src/commands/app/uninstall.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/app/uninstall.ts)_
|
|
1179
1182
|
|
|
1180
1183
|
## `nex atf`
|
|
1181
1184
|
|
|
@@ -1247,7 +1250,7 @@ EXAMPLES
|
|
|
1247
1250
|
$ nex atf --suite-id e077e00b83103210621e78c6feaad383 --poll-interval 10000 --auth dev-instance
|
|
1248
1251
|
```
|
|
1249
1252
|
|
|
1250
|
-
_See code: [src/commands/atf/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
1253
|
+
_See code: [src/commands/atf/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/atf/index.ts)_
|
|
1251
1254
|
|
|
1252
1255
|
## `nex attachment get`
|
|
1253
1256
|
|
|
@@ -1279,7 +1282,7 @@ EXAMPLES
|
|
|
1279
1282
|
$ nex attachment get -s att123 --json --auth dev
|
|
1280
1283
|
```
|
|
1281
1284
|
|
|
1282
|
-
_See code: [src/commands/attachment/get.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
1285
|
+
_See code: [src/commands/attachment/get.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/attachment/get.ts)_
|
|
1283
1286
|
|
|
1284
1287
|
## `nex attachment list`
|
|
1285
1288
|
|
|
@@ -1314,7 +1317,7 @@ EXAMPLES
|
|
|
1314
1317
|
$ nex attachment list -t incident -r abc123 --limit 50 --json --auth dev
|
|
1315
1318
|
```
|
|
1316
1319
|
|
|
1317
|
-
_See code: [src/commands/attachment/list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
1320
|
+
_See code: [src/commands/attachment/list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/attachment/list.ts)_
|
|
1318
1321
|
|
|
1319
1322
|
## `nex attachment upload`
|
|
1320
1323
|
|
|
@@ -1350,7 +1353,7 @@ EXAMPLES
|
|
|
1350
1353
|
$ nex attachment upload -t incident -r abc123 -f ./data.csv --content-type text/csv --auth dev
|
|
1351
1354
|
```
|
|
1352
1355
|
|
|
1353
|
-
_See code: [src/commands/attachment/upload.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
1356
|
+
_See code: [src/commands/attachment/upload.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/attachment/upload.ts)_
|
|
1354
1357
|
|
|
1355
1358
|
## `nex autocomplete [SHELL]`
|
|
1356
1359
|
|
|
@@ -1414,7 +1417,7 @@ EXAMPLES
|
|
|
1414
1417
|
$ nex batch create --file ./records.json --no-transaction --auth dev
|
|
1415
1418
|
```
|
|
1416
1419
|
|
|
1417
|
-
_See code: [src/commands/batch/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
1420
|
+
_See code: [src/commands/batch/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/batch/create.ts)_
|
|
1418
1421
|
|
|
1419
1422
|
## `nex batch update`
|
|
1420
1423
|
|
|
@@ -1447,7 +1450,7 @@ EXAMPLES
|
|
|
1447
1450
|
$ nex batch update --file ./updates.json --stop-on-error --auth dev
|
|
1448
1451
|
```
|
|
1449
1452
|
|
|
1450
|
-
_See code: [src/commands/batch/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
1453
|
+
_See code: [src/commands/batch/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/batch/update.ts)_
|
|
1451
1454
|
|
|
1452
1455
|
## `nex bulk delete`
|
|
1453
1456
|
|
|
@@ -1501,7 +1504,7 @@ EXAMPLES
|
|
|
1501
1504
|
$ nex bulk delete --table u_staging --query "processed=true" --confirm --json --auth dev
|
|
1502
1505
|
```
|
|
1503
1506
|
|
|
1504
|
-
_See code: [src/commands/bulk/delete.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
1507
|
+
_See code: [src/commands/bulk/delete.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/bulk/delete.ts)_
|
|
1505
1508
|
|
|
1506
1509
|
## `nex bulk update`
|
|
1507
1510
|
|
|
@@ -1559,7 +1562,7 @@ EXAMPLES
|
|
|
1559
1562
|
$ nex bulk update --table incident --query "active=true" --data '{"state":"6"}' --confirm --json --auth dev
|
|
1560
1563
|
```
|
|
1561
1564
|
|
|
1562
|
-
_See code: [src/commands/bulk/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
1565
|
+
_See code: [src/commands/bulk/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/bulk/update.ts)_
|
|
1563
1566
|
|
|
1564
1567
|
## `nex exec SCOPE [FILE]`
|
|
1565
1568
|
|
|
@@ -1678,7 +1681,7 @@ EXAMPLES
|
|
|
1678
1681
|
$ nex exec global ./script.js --auth dev-instance --params '{"token":"abc123","env":"dev"}'
|
|
1679
1682
|
```
|
|
1680
1683
|
|
|
1681
|
-
_See code: [src/commands/exec/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
1684
|
+
_See code: [src/commands/exec/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/exec/index.ts)_
|
|
1682
1685
|
|
|
1683
1686
|
## `nex flow action`
|
|
1684
1687
|
|
|
@@ -1721,7 +1724,7 @@ EXAMPLES
|
|
|
1721
1724
|
'{"table":"incident","values":{"short_description":"Test"}}' --auth dev
|
|
1722
1725
|
```
|
|
1723
1726
|
|
|
1724
|
-
_See code: [src/commands/flow/action.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
1727
|
+
_See code: [src/commands/flow/action.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/flow/action.ts)_
|
|
1725
1728
|
|
|
1726
1729
|
## `nex flow cancel`
|
|
1727
1730
|
|
|
@@ -1758,7 +1761,111 @@ EXAMPLES
|
|
|
1758
1761
|
$ nex flow cancel --context-id abc123def456 --reason "No longer needed" --auth dev
|
|
1759
1762
|
```
|
|
1760
1763
|
|
|
1761
|
-
_See code: [src/commands/flow/cancel.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
1764
|
+
_See code: [src/commands/flow/cancel.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/flow/cancel.ts)_
|
|
1765
|
+
|
|
1766
|
+
## `nex flow copy`
|
|
1767
|
+
|
|
1768
|
+
Copy an existing flow into a target scoped application.
|
|
1769
|
+
|
|
1770
|
+
```
|
|
1771
|
+
USAGE
|
|
1772
|
+
$ nex flow copy -s <value> -n <value> -t <value> [-j] [-a <value>] [--log-level debug|warn|error|info|trace]
|
|
1773
|
+
|
|
1774
|
+
FLAGS
|
|
1775
|
+
-a, --auth=<value> Auth alias to use.
|
|
1776
|
+
-j, --json Output results as JSON
|
|
1777
|
+
-n, --name=<value> (required) Display name for the new copied flow
|
|
1778
|
+
-s, --source-flow-id=<value> (required) Source flow sys_id or scoped name (e.g. global.change__standard)
|
|
1779
|
+
-t, --target-scope=<value> (required) Scope sys_id of the target application (use `nex scope` to find scope
|
|
1780
|
+
sys_ids)
|
|
1781
|
+
|
|
1782
|
+
GLOBAL FLAGS
|
|
1783
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
1784
|
+
<options: debug|warn|error|info|trace>
|
|
1785
|
+
|
|
1786
|
+
DESCRIPTION
|
|
1787
|
+
Copy an existing flow into a target scoped application.
|
|
1788
|
+
|
|
1789
|
+
This is the ServiceNow best practice before modifying any flow — OOB and shared flows must never be modified directly;
|
|
1790
|
+
always copy first. The copied flow lands in draft/unpublished state in the target scope.
|
|
1791
|
+
|
|
1792
|
+
Enables the full CLI-driven flow development lifecycle:
|
|
1793
|
+
copy → pull (now-sdk transform) → modify → push → test → publish
|
|
1794
|
+
|
|
1795
|
+
Features:
|
|
1796
|
+
• Copy flows by sys_id or scoped name
|
|
1797
|
+
• Specify a display name for the new copy
|
|
1798
|
+
• Target any scoped application by sys_id
|
|
1799
|
+
• Returns the new flow sys_id for use in subsequent commands
|
|
1800
|
+
|
|
1801
|
+
EXAMPLES
|
|
1802
|
+
Copy an OOB flow into your app scope
|
|
1803
|
+
|
|
1804
|
+
$ nex flow copy --source-flow-id e89e3ade731310108ef62d2b04f6a744 --name "Copy of Change - Standard" \
|
|
1805
|
+
--target-scope 4a5a6115402946939ee48e3fe80f60f8 --auth dev
|
|
1806
|
+
|
|
1807
|
+
Copy by scoped name
|
|
1808
|
+
|
|
1809
|
+
$ nex flow copy -s global.change__standard -n "My Custom Change Flow" -t 4a5a6115402946939ee48e3fe80f60f8 --auth \
|
|
1810
|
+
dev
|
|
1811
|
+
|
|
1812
|
+
Copy with JSON output for scripting
|
|
1813
|
+
|
|
1814
|
+
$ nex flow copy -s e89e3ade731310108ef62d2b04f6a744 -n "Copy" -t 4a5a6115402946939ee48e3fe80f60f8 --json --auth \
|
|
1815
|
+
dev
|
|
1816
|
+
```
|
|
1817
|
+
|
|
1818
|
+
_See code: [src/commands/flow/copy.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/flow/copy.ts)_
|
|
1819
|
+
|
|
1820
|
+
## `nex flow details`
|
|
1821
|
+
|
|
1822
|
+
Get rich execution details for a flow context.
|
|
1823
|
+
|
|
1824
|
+
```
|
|
1825
|
+
USAGE
|
|
1826
|
+
$ nex flow details -c <value> [-j] [-a <value>] [--log-level debug|warn|error|info|trace] [--scope <value>] [-d]
|
|
1827
|
+
|
|
1828
|
+
FLAGS
|
|
1829
|
+
-a, --auth=<value> Auth alias to use.
|
|
1830
|
+
-c, --context-id=<value> (required) Flow context sys_id returned by flow test, flow run, flow subflow, or flow action
|
|
1831
|
+
-d, --include-definition Include the full flow definition snapshot in the response
|
|
1832
|
+
-j, --json Output results as JSON
|
|
1833
|
+
--scope=<value> Scope sys_id for the ProcessFlow API transaction scope parameter
|
|
1834
|
+
|
|
1835
|
+
GLOBAL FLAGS
|
|
1836
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
1837
|
+
<options: debug|warn|error|info|trace>
|
|
1838
|
+
|
|
1839
|
+
DESCRIPTION
|
|
1840
|
+
Get rich execution details for a flow context.
|
|
1841
|
+
|
|
1842
|
+
Returns per-action timing, inputs, outputs, and high-level metadata (state, runtime, who ran it, test vs production).
|
|
1843
|
+
This is the primary diagnostic command after flow test or flow run.
|
|
1844
|
+
|
|
1845
|
+
Uses the ProcessFlow operations API (GET /api/now/processflow/operations/flow/context/{id}), the same endpoint Flow
|
|
1846
|
+
Designer uses to display execution details.
|
|
1847
|
+
|
|
1848
|
+
NOTE: Requires flow operations logging to be enabled on the instance. If the execution report is unavailable, a notice
|
|
1849
|
+
will explain why.
|
|
1850
|
+
|
|
1851
|
+
Typical workflow:
|
|
1852
|
+
flow test → flow details → diagnose → modify flow → flow test again
|
|
1853
|
+
|
|
1854
|
+
EXAMPLES
|
|
1855
|
+
Get execution details after testing a flow
|
|
1856
|
+
|
|
1857
|
+
$ nex flow details --context-id d4e5f6789012345678abcdef01234567 --auth dev
|
|
1858
|
+
|
|
1859
|
+
Get details with explicit scope
|
|
1860
|
+
|
|
1861
|
+
$ nex flow details -c d4e5f6789012345678abcdef01234567 --scope x_myapp --auth dev
|
|
1862
|
+
|
|
1863
|
+
Get details with JSON output for scripting
|
|
1864
|
+
|
|
1865
|
+
$ nex flow details -c d4e5f6789012345678abcdef01234567 --json --auth dev
|
|
1866
|
+
```
|
|
1867
|
+
|
|
1868
|
+
_See code: [src/commands/flow/details.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/flow/details.ts)_
|
|
1762
1869
|
|
|
1763
1870
|
## `nex flow error`
|
|
1764
1871
|
|
|
@@ -1789,7 +1896,55 @@ EXAMPLES
|
|
|
1789
1896
|
$ nex flow error --context-id abc123def456 --auth dev
|
|
1790
1897
|
```
|
|
1791
1898
|
|
|
1792
|
-
_See code: [src/commands/flow/error.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
1899
|
+
_See code: [src/commands/flow/error.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/flow/error.ts)_
|
|
1900
|
+
|
|
1901
|
+
## `nex flow logs`
|
|
1902
|
+
|
|
1903
|
+
Retrieve flow execution log entries for a given context.
|
|
1904
|
+
|
|
1905
|
+
```
|
|
1906
|
+
USAGE
|
|
1907
|
+
$ nex flow logs -c <value> [-j] [-a <value>] [--log-level debug|warn|error|info|trace] [-l <value>] [-o
|
|
1908
|
+
asc|desc]
|
|
1909
|
+
|
|
1910
|
+
FLAGS
|
|
1911
|
+
-a, --auth=<value> Auth alias to use.
|
|
1912
|
+
-c, --context-id=<value> (required) Flow context sys_id returned by flow test, flow run, flow subflow, or flow action
|
|
1913
|
+
-j, --json Output results as JSON
|
|
1914
|
+
-l, --limit=<value> [default: 100] Maximum number of log entries to return
|
|
1915
|
+
-o, --order=<option> [default: asc] Order direction: asc (oldest first) or desc (newest first)
|
|
1916
|
+
<options: asc|desc>
|
|
1917
|
+
|
|
1918
|
+
GLOBAL FLAGS
|
|
1919
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
1920
|
+
<options: debug|warn|error|info|trace>
|
|
1921
|
+
|
|
1922
|
+
DESCRIPTION
|
|
1923
|
+
Retrieve flow execution log entries for a given context.
|
|
1924
|
+
|
|
1925
|
+
Log entries include error messages, step-level debug output, and cancellation reasons. Use this alongside flow details
|
|
1926
|
+
to get the full picture of what happened during an execution.
|
|
1927
|
+
|
|
1928
|
+
Queries sys_flow_log entries and maps numeric log levels to human-readable names (ERROR, WARN, INFO, DEBUG).
|
|
1929
|
+
|
|
1930
|
+
NOTE: Log entries may be empty for simple successful executions, or if the flow reporting level is set to NONE. Errors
|
|
1931
|
+
and warnings are always logged regardless of the reporting level setting.
|
|
1932
|
+
|
|
1933
|
+
EXAMPLES
|
|
1934
|
+
Get flow execution logs
|
|
1935
|
+
|
|
1936
|
+
$ nex flow logs --context-id d4e5f6789012345678abcdef01234567 --auth dev
|
|
1937
|
+
|
|
1938
|
+
Get latest 10 log entries in reverse order
|
|
1939
|
+
|
|
1940
|
+
$ nex flow logs -c d4e5f6789012345678abcdef01234567 --limit 10 --order desc --auth dev
|
|
1941
|
+
|
|
1942
|
+
Get logs with JSON output for scripting
|
|
1943
|
+
|
|
1944
|
+
$ nex flow logs -c d4e5f6789012345678abcdef01234567 --json --auth dev
|
|
1945
|
+
```
|
|
1946
|
+
|
|
1947
|
+
_See code: [src/commands/flow/logs.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/flow/logs.ts)_
|
|
1793
1948
|
|
|
1794
1949
|
## `nex flow message`
|
|
1795
1950
|
|
|
@@ -1828,7 +1983,7 @@ EXAMPLES
|
|
|
1828
1983
|
$ nex flow message --context-id abc123def456 --message "data_ready" --payload '{"status":"ok"}' --auth dev
|
|
1829
1984
|
```
|
|
1830
1985
|
|
|
1831
|
-
_See code: [src/commands/flow/message.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
1986
|
+
_See code: [src/commands/flow/message.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/flow/message.ts)_
|
|
1832
1987
|
|
|
1833
1988
|
## `nex flow outputs`
|
|
1834
1989
|
|
|
@@ -1863,7 +2018,7 @@ EXAMPLES
|
|
|
1863
2018
|
$ nex flow outputs --context-id abc123def456 --json --auth dev
|
|
1864
2019
|
```
|
|
1865
2020
|
|
|
1866
|
-
_See code: [src/commands/flow/outputs.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
2021
|
+
_See code: [src/commands/flow/outputs.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/flow/outputs.ts)_
|
|
1867
2022
|
|
|
1868
2023
|
## `nex flow run`
|
|
1869
2024
|
|
|
@@ -1918,7 +2073,7 @@ EXAMPLES
|
|
|
1918
2073
|
$ nex flow run --name global.my_flow --mode background --auth dev
|
|
1919
2074
|
```
|
|
1920
2075
|
|
|
1921
|
-
_See code: [src/commands/flow/run.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
2076
|
+
_See code: [src/commands/flow/run.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/flow/run.ts)_
|
|
1922
2077
|
|
|
1923
2078
|
## `nex flow status`
|
|
1924
2079
|
|
|
@@ -1951,7 +2106,7 @@ EXAMPLES
|
|
|
1951
2106
|
$ nex flow status --context-id abc123def456 --auth dev
|
|
1952
2107
|
```
|
|
1953
2108
|
|
|
1954
|
-
_See code: [src/commands/flow/status.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
2109
|
+
_See code: [src/commands/flow/status.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/flow/status.ts)_
|
|
1955
2110
|
|
|
1956
2111
|
## `nex flow subflow`
|
|
1957
2112
|
|
|
@@ -2000,7 +2155,7 @@ EXAMPLES
|
|
|
2000
2155
|
$ nex flow subflow --name x_myapp.process_record --inputs '{"table":"incident","sys_id":"abc123"}' --auth dev
|
|
2001
2156
|
```
|
|
2002
2157
|
|
|
2003
|
-
_See code: [src/commands/flow/subflow.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
2158
|
+
_See code: [src/commands/flow/subflow.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/flow/subflow.ts)_
|
|
2004
2159
|
|
|
2005
2160
|
## `nex flow test`
|
|
2006
2161
|
|
|
@@ -2052,7 +2207,7 @@ EXAMPLES
|
|
|
2052
2207
|
$ nex flow test -f 887dda5583237210fdb8f7b6feaad32c -o '{"current":"abc123"}' --json --auth dev
|
|
2053
2208
|
```
|
|
2054
2209
|
|
|
2055
|
-
_See code: [src/commands/flow/test.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
2210
|
+
_See code: [src/commands/flow/test.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/flow/test.ts)_
|
|
2056
2211
|
|
|
2057
2212
|
## `nex health check`
|
|
2058
2213
|
|
|
@@ -2112,7 +2267,7 @@ EXAMPLES
|
|
|
2112
2267
|
$ nex health check --json --auth dev
|
|
2113
2268
|
```
|
|
2114
2269
|
|
|
2115
|
-
_See code: [src/commands/health/check.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
2270
|
+
_See code: [src/commands/health/check.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/health/check.ts)_
|
|
2116
2271
|
|
|
2117
2272
|
## `nex help [COMMAND]`
|
|
2118
2273
|
|
|
@@ -2237,7 +2392,7 @@ EXAMPLES
|
|
|
2237
2392
|
$ nex log --no-color --auth dev-instance
|
|
2238
2393
|
```
|
|
2239
2394
|
|
|
2240
|
-
_See code: [src/commands/log/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
2395
|
+
_See code: [src/commands/log/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/log/index.ts)_
|
|
2241
2396
|
|
|
2242
2397
|
## `nex plugins`
|
|
2243
2398
|
|
|
@@ -2579,7 +2734,7 @@ EXAMPLES
|
|
|
2579
2734
|
$ nex query --table sys_user --query "active=true" --limit 5 --json --auth dev
|
|
2580
2735
|
```
|
|
2581
2736
|
|
|
2582
|
-
_See code: [src/commands/query/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
2737
|
+
_See code: [src/commands/query/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/query/index.ts)_
|
|
2583
2738
|
|
|
2584
2739
|
## `nex query app`
|
|
2585
2740
|
|
|
@@ -2621,7 +2776,7 @@ EXAMPLES
|
|
|
2621
2776
|
$ nex query app --search "HR" --active --auth dev
|
|
2622
2777
|
```
|
|
2623
2778
|
|
|
2624
|
-
_See code: [src/commands/query/app.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
2779
|
+
_See code: [src/commands/query/app.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/query/app.ts)_
|
|
2625
2780
|
|
|
2626
2781
|
## `nex query columns`
|
|
2627
2782
|
|
|
@@ -2665,7 +2820,7 @@ EXAMPLES
|
|
|
2665
2820
|
$ nex query columns --table incident --json --auth dev
|
|
2666
2821
|
```
|
|
2667
2822
|
|
|
2668
|
-
_See code: [src/commands/query/columns.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
2823
|
+
_See code: [src/commands/query/columns.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/query/columns.ts)_
|
|
2669
2824
|
|
|
2670
2825
|
## `nex query syslog`
|
|
2671
2826
|
|
|
@@ -2711,7 +2866,7 @@ EXAMPLES
|
|
|
2711
2866
|
$ nex query syslog --query "sourceLIKEincident" --json --auth dev
|
|
2712
2867
|
```
|
|
2713
2868
|
|
|
2714
|
-
_See code: [src/commands/query/syslog.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
2869
|
+
_See code: [src/commands/query/syslog.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/query/syslog.ts)_
|
|
2715
2870
|
|
|
2716
2871
|
## `nex schema`
|
|
2717
2872
|
|
|
@@ -2759,7 +2914,7 @@ EXAMPLES
|
|
|
2759
2914
|
$ nex schema --table incident --include-choices --include-relationships --auth dev
|
|
2760
2915
|
```
|
|
2761
2916
|
|
|
2762
|
-
_See code: [src/commands/schema/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
2917
|
+
_See code: [src/commands/schema/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/schema/index.ts)_
|
|
2763
2918
|
|
|
2764
2919
|
## `nex schema field`
|
|
2765
2920
|
|
|
@@ -2795,7 +2950,7 @@ EXAMPLES
|
|
|
2795
2950
|
$ nex schema field --table incident --field priority --json --auth dev
|
|
2796
2951
|
```
|
|
2797
2952
|
|
|
2798
|
-
_See code: [src/commands/schema/field.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
2953
|
+
_See code: [src/commands/schema/field.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/schema/field.ts)_
|
|
2799
2954
|
|
|
2800
2955
|
## `nex schema validate-catalog`
|
|
2801
2956
|
|
|
@@ -2830,7 +2985,7 @@ EXAMPLES
|
|
|
2830
2985
|
$ nex schema validate-catalog --sys-id a1b2c3d4e5f6 --json --auth dev
|
|
2831
2986
|
```
|
|
2832
2987
|
|
|
2833
|
-
_See code: [src/commands/schema/validate-catalog.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
2988
|
+
_See code: [src/commands/schema/validate-catalog.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/schema/validate-catalog.ts)_
|
|
2834
2989
|
|
|
2835
2990
|
## `nex scope`
|
|
2836
2991
|
|
|
@@ -2866,7 +3021,7 @@ EXAMPLES
|
|
|
2866
3021
|
$ nex scope -l --json --auth dev
|
|
2867
3022
|
```
|
|
2868
3023
|
|
|
2869
|
-
_See code: [src/commands/scope/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
3024
|
+
_See code: [src/commands/scope/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/scope/index.ts)_
|
|
2870
3025
|
|
|
2871
3026
|
## `nex scope set`
|
|
2872
3027
|
|
|
@@ -2898,7 +3053,7 @@ EXAMPLES
|
|
|
2898
3053
|
$ nex scope set -a abc123def456ghi789jkl012mno345pq --json --auth dev
|
|
2899
3054
|
```
|
|
2900
3055
|
|
|
2901
|
-
_See code: [src/commands/scope/set.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
3056
|
+
_See code: [src/commands/scope/set.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/scope/set.ts)_
|
|
2902
3057
|
|
|
2903
3058
|
## `nex script-sync pull`
|
|
2904
3059
|
|
|
@@ -2947,7 +3102,7 @@ EXAMPLES
|
|
|
2947
3102
|
$ nex script-sync pull -n MyClientScript -t sys_script_client --json --auth dev-instance
|
|
2948
3103
|
```
|
|
2949
3104
|
|
|
2950
|
-
_See code: [src/commands/script-sync/pull.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
3105
|
+
_See code: [src/commands/script-sync/pull.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/script-sync/pull.ts)_
|
|
2951
3106
|
|
|
2952
3107
|
## `nex script-sync push`
|
|
2953
3108
|
|
|
@@ -2997,7 +3152,7 @@ EXAMPLES
|
|
|
2997
3152
|
$ nex script-sync push -n MyUIScript -t sys_ui_script -f ./scripts/ui-script.js --json --auth dev-instance
|
|
2998
3153
|
```
|
|
2999
3154
|
|
|
3000
|
-
_See code: [src/commands/script-sync/push.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
3155
|
+
_See code: [src/commands/script-sync/push.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/script-sync/push.ts)_
|
|
3001
3156
|
|
|
3002
3157
|
## `nex script-sync sync`
|
|
3003
3158
|
|
|
@@ -3045,7 +3200,7 @@ EXAMPLES
|
|
|
3045
3200
|
$ nex script-sync sync -d ./scripts --json --auth dev-instance
|
|
3046
3201
|
```
|
|
3047
3202
|
|
|
3048
|
-
_See code: [src/commands/script-sync/sync.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
3203
|
+
_See code: [src/commands/script-sync/sync.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/script-sync/sync.ts)_
|
|
3049
3204
|
|
|
3050
3205
|
## `nex search`
|
|
3051
3206
|
|
|
@@ -3101,7 +3256,7 @@ EXAMPLES
|
|
|
3101
3256
|
$ nex search --term "GlideRecord" --limit 10 --json --auth dev-instance
|
|
3102
3257
|
```
|
|
3103
3258
|
|
|
3104
|
-
_See code: [src/commands/search/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
3259
|
+
_See code: [src/commands/search/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/search/index.ts)_
|
|
3105
3260
|
|
|
3106
3261
|
## `nex search add-table`
|
|
3107
3262
|
|
|
@@ -3151,7 +3306,7 @@ EXAMPLES
|
|
|
3151
3306
|
dev-instance
|
|
3152
3307
|
```
|
|
3153
3308
|
|
|
3154
|
-
_See code: [src/commands/search/add-table.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
3309
|
+
_See code: [src/commands/search/add-table.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/search/add-table.ts)_
|
|
3155
3310
|
|
|
3156
3311
|
## `nex search groups`
|
|
3157
3312
|
|
|
@@ -3189,7 +3344,7 @@ EXAMPLES
|
|
|
3189
3344
|
$ nex search groups --json --auth dev-instance
|
|
3190
3345
|
```
|
|
3191
3346
|
|
|
3192
|
-
_See code: [src/commands/search/groups.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
3347
|
+
_See code: [src/commands/search/groups.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/search/groups.ts)_
|
|
3193
3348
|
|
|
3194
3349
|
## `nex search tables`
|
|
3195
3350
|
|
|
@@ -3229,7 +3384,7 @@ EXAMPLES
|
|
|
3229
3384
|
$ nex search tables --search-group "Business Rules" --json --auth dev-instance
|
|
3230
3385
|
```
|
|
3231
3386
|
|
|
3232
|
-
_See code: [src/commands/search/tables.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
3387
|
+
_See code: [src/commands/search/tables.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/search/tables.ts)_
|
|
3233
3388
|
|
|
3234
3389
|
## `nex store install`
|
|
3235
3390
|
|
|
@@ -3271,7 +3426,7 @@ EXAMPLES
|
|
|
3271
3426
|
$ nex store install -a abc123 -v 1.0.0 --demo-data --auth dev
|
|
3272
3427
|
```
|
|
3273
3428
|
|
|
3274
|
-
_See code: [src/commands/store/install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
3429
|
+
_See code: [src/commands/store/install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/store/install.ts)_
|
|
3275
3430
|
|
|
3276
3431
|
## `nex store search`
|
|
3277
3432
|
|
|
@@ -3311,7 +3466,7 @@ EXAMPLES
|
|
|
3311
3466
|
$ nex store search --tab updates --limit 10 --auth dev
|
|
3312
3467
|
```
|
|
3313
3468
|
|
|
3314
|
-
_See code: [src/commands/store/search.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
3469
|
+
_See code: [src/commands/store/search.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/store/search.ts)_
|
|
3315
3470
|
|
|
3316
3471
|
## `nex store update`
|
|
3317
3472
|
|
|
@@ -3352,7 +3507,7 @@ EXAMPLES
|
|
|
3352
3507
|
$ nex store update -a abc123 -v 2.0.0 --timeout 3600000 --auth dev
|
|
3353
3508
|
```
|
|
3354
3509
|
|
|
3355
|
-
_See code: [src/commands/store/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
3510
|
+
_See code: [src/commands/store/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/store/update.ts)_
|
|
3356
3511
|
|
|
3357
3512
|
## `nex store validate`
|
|
3358
3513
|
|
|
@@ -3380,7 +3535,7 @@ EXAMPLES
|
|
|
3380
3535
|
$ nex store validate --file ./batch-definition.json --auth dev
|
|
3381
3536
|
```
|
|
3382
3537
|
|
|
3383
|
-
_See code: [src/commands/store/validate.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
3538
|
+
_See code: [src/commands/store/validate.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/store/validate.ts)_
|
|
3384
3539
|
|
|
3385
3540
|
## `nex task approve`
|
|
3386
3541
|
|
|
@@ -3420,7 +3575,7 @@ EXAMPLES
|
|
|
3420
3575
|
$ nex task approve -n CHG0010001 -c "Looks good, approved" --auth dev
|
|
3421
3576
|
```
|
|
3422
3577
|
|
|
3423
|
-
_See code: [src/commands/task/approve.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
3578
|
+
_See code: [src/commands/task/approve.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/task/approve.ts)_
|
|
3424
3579
|
|
|
3425
3580
|
## `nex task assign`
|
|
3426
3581
|
|
|
@@ -3470,7 +3625,7 @@ EXAMPLES
|
|
|
3470
3625
|
$ nex task assign --number CHG0010001 --table change_request --user admin --auth dev
|
|
3471
3626
|
```
|
|
3472
3627
|
|
|
3473
|
-
_See code: [src/commands/task/assign.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
3628
|
+
_See code: [src/commands/task/assign.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/task/assign.ts)_
|
|
3474
3629
|
|
|
3475
3630
|
## `nex task close`
|
|
3476
3631
|
|
|
@@ -3513,7 +3668,7 @@ EXAMPLES
|
|
|
3513
3668
|
$ nex task close -n INC0010001 --notes "Closed" --close-code "Solved (Permanently)" --auth dev
|
|
3514
3669
|
```
|
|
3515
3670
|
|
|
3516
|
-
_See code: [src/commands/task/close.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
3671
|
+
_See code: [src/commands/task/close.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/task/close.ts)_
|
|
3517
3672
|
|
|
3518
3673
|
## `nex task comment`
|
|
3519
3674
|
|
|
@@ -3562,7 +3717,7 @@ EXAMPLES
|
|
|
3562
3717
|
$ nex task comment --number CHG0010001 --table change_request --comment "Approved" --auth dev
|
|
3563
3718
|
```
|
|
3564
3719
|
|
|
3565
|
-
_See code: [src/commands/task/comment.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
3720
|
+
_See code: [src/commands/task/comment.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/task/comment.ts)_
|
|
3566
3721
|
|
|
3567
3722
|
## `nex task find`
|
|
3568
3723
|
|
|
@@ -3607,7 +3762,7 @@ EXAMPLES
|
|
|
3607
3762
|
$ nex task find -n INC0010001 --json --auth dev
|
|
3608
3763
|
```
|
|
3609
3764
|
|
|
3610
|
-
_See code: [src/commands/task/find.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
3765
|
+
_See code: [src/commands/task/find.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/task/find.ts)_
|
|
3611
3766
|
|
|
3612
3767
|
## `nex task resolve`
|
|
3613
3768
|
|
|
@@ -3650,7 +3805,7 @@ EXAMPLES
|
|
|
3650
3805
|
$ nex task resolve -n INC0010001 --notes "Fixed" --close-code "Solved (Permanently)" --auth dev
|
|
3651
3806
|
```
|
|
3652
3807
|
|
|
3653
|
-
_See code: [src/commands/task/resolve.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
3808
|
+
_See code: [src/commands/task/resolve.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/task/resolve.ts)_
|
|
3654
3809
|
|
|
3655
3810
|
## `nex update-set`
|
|
3656
3811
|
|
|
@@ -3687,7 +3842,7 @@ EXAMPLES
|
|
|
3687
3842
|
$ nex update-set --json --auth dev-instance
|
|
3688
3843
|
```
|
|
3689
3844
|
|
|
3690
|
-
_See code: [src/commands/update-set/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
3845
|
+
_See code: [src/commands/update-set/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/update-set/index.ts)_
|
|
3691
3846
|
|
|
3692
3847
|
## `nex update-set clone`
|
|
3693
3848
|
|
|
@@ -3720,7 +3875,7 @@ EXAMPLES
|
|
|
3720
3875
|
$ nex update-set clone --source us-001 --name "Cloned Set" --json --auth dev-instance
|
|
3721
3876
|
```
|
|
3722
3877
|
|
|
3723
|
-
_See code: [src/commands/update-set/clone.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
3878
|
+
_See code: [src/commands/update-set/clone.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/update-set/clone.ts)_
|
|
3724
3879
|
|
|
3725
3880
|
## `nex update-set create`
|
|
3726
3881
|
|
|
@@ -3759,7 +3914,7 @@ EXAMPLES
|
|
|
3759
3914
|
$ nex update-set create --name "My Feature Set" --application x_my_app --auth dev-instance
|
|
3760
3915
|
```
|
|
3761
3916
|
|
|
3762
|
-
_See code: [src/commands/update-set/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
3917
|
+
_See code: [src/commands/update-set/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/update-set/create.ts)_
|
|
3763
3918
|
|
|
3764
3919
|
## `nex update-set current`
|
|
3765
3920
|
|
|
@@ -3795,7 +3950,7 @@ EXAMPLES
|
|
|
3795
3950
|
$ nex update-set current --json --auth dev-instance
|
|
3796
3951
|
```
|
|
3797
3952
|
|
|
3798
|
-
_See code: [src/commands/update-set/current.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
3953
|
+
_See code: [src/commands/update-set/current.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/update-set/current.ts)_
|
|
3799
3954
|
|
|
3800
3955
|
## `nex update-set inspect`
|
|
3801
3956
|
|
|
@@ -3827,7 +3982,7 @@ EXAMPLES
|
|
|
3827
3982
|
$ nex update-set inspect --sys-id us-001 --json --auth dev-instance
|
|
3828
3983
|
```
|
|
3829
3984
|
|
|
3830
|
-
_See code: [src/commands/update-set/inspect.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
3985
|
+
_See code: [src/commands/update-set/inspect.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/update-set/inspect.ts)_
|
|
3831
3986
|
|
|
3832
3987
|
## `nex update-set move`
|
|
3833
3988
|
|
|
@@ -3866,7 +4021,7 @@ EXAMPLES
|
|
|
3866
4021
|
$ nex update-set move --target us-002 --source us-001 --json --auth dev-instance
|
|
3867
4022
|
```
|
|
3868
4023
|
|
|
3869
|
-
_See code: [src/commands/update-set/move.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
4024
|
+
_See code: [src/commands/update-set/move.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/update-set/move.ts)_
|
|
3870
4025
|
|
|
3871
4026
|
## `nex workflow create`
|
|
3872
4027
|
|
|
@@ -3898,7 +4053,7 @@ EXAMPLES
|
|
|
3898
4053
|
$ nex workflow create -s ./workflow.json --json --auth dev
|
|
3899
4054
|
```
|
|
3900
4055
|
|
|
3901
|
-
_See code: [src/commands/workflow/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
4056
|
+
_See code: [src/commands/workflow/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/workflow/create.ts)_
|
|
3902
4057
|
|
|
3903
4058
|
## `nex workflow publish`
|
|
3904
4059
|
|
|
@@ -3931,7 +4086,7 @@ EXAMPLES
|
|
|
3931
4086
|
$ nex workflow publish -v wfv-001 -s act-001 --json --auth dev
|
|
3932
4087
|
```
|
|
3933
4088
|
|
|
3934
|
-
_See code: [src/commands/workflow/publish.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
4089
|
+
_See code: [src/commands/workflow/publish.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/workflow/publish.ts)_
|
|
3935
4090
|
|
|
3936
4091
|
## `nex xml export`
|
|
3937
4092
|
|
|
@@ -3978,7 +4133,7 @@ EXAMPLES
|
|
|
3978
4133
|
$ nex xml export --table sys_script --sys-id abc123 --json --auth dev
|
|
3979
4134
|
```
|
|
3980
4135
|
|
|
3981
|
-
_See code: [src/commands/xml/export.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
4136
|
+
_See code: [src/commands/xml/export.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/xml/export.ts)_
|
|
3982
4137
|
|
|
3983
4138
|
## `nex xml import`
|
|
3984
4139
|
|
|
@@ -4019,7 +4174,7 @@ EXAMPLES
|
|
|
4019
4174
|
$ nex xml import --file ./records.xml --table incident --json --auth dev
|
|
4020
4175
|
```
|
|
4021
4176
|
|
|
4022
|
-
_See code: [src/commands/xml/import.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.
|
|
4177
|
+
_See code: [src/commands/xml/import.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.3.0/src/commands/xml/import.ts)_
|
|
4023
4178
|
<!-- commandsstop -->
|
|
4024
4179
|
|
|
4025
4180
|
---
|