You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 75894e2
Browse filesBrowse the repository at this point in the historyBrowse files
- `sim workflows export` keeps workspace bindings (table, knowledge base, child workflow ids) by default, so a table block prints its tableId; `--no-include-workspace-bindings` clears them for a copy to share. The stderr note pointing at `workflows outline` is gone.
- Moving a block into or out of a loop or parallel removes the stored edges the move leaves crossing the boundary and names them in `warnings`, instead of recording them as skipped items that made `atomic` refuse the batch. Edges the batch itself asks for across a boundary are still refused. Operations help states this.
- `tables create --schema` and `tables columns create --column` list every column field (required, unique, options, multiple, currencyCode, id, position) generated from the shape the server validates.
|`--column <json\|@file>`| Yes | Column definition to add: {"name":"status","type":"string"}. A column's type is one of string, number, currency, boolean, date, json, select; a select column also takes options. (JSON, or @path / @- to read a file or stdin). |
5894
+
|`--column <json\|@file>`| Yes | Column definition to add: {"name":"status","type":"string"}. Column fields: id - Optional client-provided column identifier; name (required) - Column name; type (required) - Column data type; required - Whether inserts must supply a value for this column; unique - Whether values in the column must be unique; options - Select options for select-type columns, as [{"id":"open","name":"Open"}]; multiple - Whether a select column accepts multiple values; currencyCode - ISO 4217 code for currency columns; position - Zero-based insertion position for the column. A column's type is one of string, number, currency, boolean, date, json, select; a select column also takes options. (JSON, or @path / @- to read a file or stdin). |
5895
5895
5896
5896
</CommandTable>
5897
5897
@@ -6797,7 +6797,7 @@ sim tables create [options]
6797
6797
| --- | --- | --- |
6798
6798
|`--name <value>`| Yes | Identifier: letters, numbers, and underscores; cannot start with a number. |
6799
6799
|`--description <value>`| No | Optional table description. |
6800
-
|`--schema <json\|@file>`| Yes | Initial table column definitions: {"columns":[{"name":"email","type":"string"}]}. A column's type is one of string, number, currency, boolean, date, json, select; a select column also takes options. (JSON, or @path / @- to read a file or stdin). |
6800
+
|`--schema <json\|@file>`| Yes | Initial table column definitions: {"columns":[{"name":"email","type":"string","required":true,"unique":true}]}. Column fields: id - Optional client-provided column identifier; name (required) - Column name; type (required) - Column data type; required - Whether inserts must supply a value for this column; unique - Whether values in the column must be unique; options - Select options for select-type columns, as [{"id":"open","name":"Open"}]; multiple - Whether a select column accepts multiple values; currencyCode - ISO 4217 code for currency columns. A column's type is one of string, number, currency, boolean, date, json, select; a select column also takes options. (JSON, or @path / @- to read a file or stdin). |
6801
6801
|`--folder <value>`| No | Folder path as shown in the app; the leading / is optional. |
6802
6802
6803
6803
</CommandTable>
@@ -7774,8 +7774,10 @@ Edges:
7774
7774
or {"source":{"block":"<id>","handle":"<target handle>"}}; "success" is an alias of "source".
7775
7775
An add's connections create the new block's edges. An edit's connections REPLACE every
7776
7776
outgoing edge of that block, on every handle: list again each edge to keep; {} removes them all.
7777
-
A block moved into or out of a loop or parallel (parentId) loses every edge that would cross the
7778
-
container's boundary: to leave the loop, wire its loop-end-source (parallel-end-source).
7777
+
Moving a block into or out of a loop or parallel (parentId) removes each of its existing edges
7778
+
that would cross the container's boundary, atomic or not, and names them in warnings. Edges the
7779
+
batch itself asks for across a boundary are refused. Wire into the body from loop-start-source
7780
+
and onward from loop-end-source (parallel-start-source, parallel-end-source).
7779
7781
To remove one edge, edit its source block with
7780
7782
{"removeEdges":[{"targetBlockId":"<id>","sourceHandle":"source"}]} (sourceHandle defaults to
|`--include-references`| No | Include non-secret resource identities for mapped import. |
8565
-
|`--include-workspace-bindings`| No | Keep non-secret table, knowledge base, document, folder, channel, and other workspace bindings for a same-workspace import. Defaults to false, which clears these IDs. Registered credential fields and opaque table/tool values are cleared either way; environment references and ordinary workflow variables remain included. |
8567
+
|`--include-workspace-bindings`| No | Keep table, knowledge base, document, folder, channel and other workspace bindings. On by default; --no-include-workspace-bindings clears them for a copy to share outside this workspace. Credentials are cleared either way. |
8566
8568
|`--no-include-workspace-bindings`| No | Send --include-workspace-bindings as false. |
8567
8569
8568
8570
</CommandTable>
8569
8571
8570
-
Workspace bindings (a table, a child workflow, a knowledge base) print as null unless --include-workspace-bindings, and credentials always do: that is the export, not an unset block. To read what a block is set to, use `sim workflows outline` or `sim workflows state get`.
8572
+
A table, child workflow, knowledge base or other workspace binding prints as its id; a credential always prints as null. For a copy to share outside this workspace, pass --no-include-workspace-bindings to clear the bindings too.
8571
8573
8572
8574
API request and response schemas: [exportWorkflow](/api-reference/workflows/exportWorkflow).
Copy file name to clipboardExpand all lines: apps/docs/content/docs/cli/tables.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,7 @@ sim tables create [options]
68
68
| --- | --- | --- |
69
69
|`--name <value>`| Yes | Identifier: letters, numbers, and underscores; cannot start with a number. |
70
70
|`--description <value>`| No | Optional table description. |
71
-
|`--schema <json\|@file>`| Yes | Initial table column definitions: {"columns":[{"name":"email","type":"string"}]}. A column's type is one of string, number, currency, boolean, date, json, select; a select column also takes options. (JSON, or @path / @- to read a file or stdin). |
71
+
|`--schema <json\|@file>`| Yes | Initial table column definitions: {"columns":[{"name":"email","type":"string","required":true,"unique":true}]}. Column fields: id - Optional client-provided column identifier; name (required) - Column name; type (required) - Column data type; required - Whether inserts must supply a value for this column; unique - Whether values in the column must be unique; options - Select options for select-type columns, as [{"id":"open","name":"Open"}]; multiple - Whether a select column accepts multiple values; currencyCode - ISO 4217 code for currency columns. A column's type is one of string, number, currency, boolean, date, json, select; a select column also takes options. (JSON, or @path / @- to read a file or stdin). |
72
72
|`--folder <value>`| No | Folder path as shown in the app; the leading / is optional. |
|`--column <json\|@file>`| Yes | Column definition to add: {"name":"status","type":"string"}. A column's type is one of string, number, currency, boolean, date, json, select; a select column also takes options. (JSON, or @path / @- to read a file or stdin). |
627
+
|`--column <json\|@file>`| Yes | Column definition to add: {"name":"status","type":"string"}. Column fields: id - Optional client-provided column identifier; name (required) - Column name; type (required) - Column data type; required - Whether inserts must supply a value for this column; unique - Whether values in the column must be unique; options - Select options for select-type columns, as [{"id":"open","name":"Open"}]; multiple - Whether a select column accepts multiple values; currencyCode - ISO 4217 code for currency columns; position - Zero-based insertion position for the column. A column's type is one of string, number, currency, boolean, date, json, select; a select column also takes options. (JSON, or @path / @- to read a file or stdin). |
Copy file name to clipboardExpand all lines: apps/docs/content/docs/cli/workflow-sync.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ Forking and sync require Enterprise on billing-enabled deployments. Billing-disa
28
28
29
29
### 1. Export and inspect the workflow
30
30
31
-
`--include-references` adds a versioned manifest of resource identities and their occurrences. Default export clears registered credential fields and workspace bindings. It does not remove every ordinary variable value or literal configuration; inspect the payload before sharing it. Credentials and secret values are not transferred as destination resources.
31
+
`--include-references` adds a versioned manifest of resource identities and their occurrences. `sim workflows export` clears registered credential fields and keeps non-secret workspace bindings, such as table and knowledge base IDs; `--no-include-workspace-bindings` clears those too. It does not remove every ordinary variable value or literal configuration; inspect the payload before sharing it. Credentials and secret values are not transferred as destination resources.
`--include-workspace-bindings` can preserve non-secret bindings for a same-workspace round trip. Otherwise, configure required bindings reported by import.
43
+
With `--include-references`, import preview lists the bindings the destination has to map.
|`--include-references`| No | Include non-secret resource identities for mapped import. |
1158
-
|`--include-workspace-bindings`| No | Keep non-secret table, knowledge base, document, folder, channel, and other workspace bindings for a same-workspace import. Defaults to false, which clears these IDs. Registered credential fields and opaque table/tool values are cleared either way; environment references and ordinary workflow variables remain included. |
1160
+
|`--include-workspace-bindings`| No | Keep table, knowledge base, document, folder, channel and other workspace bindings. On by default; --no-include-workspace-bindings clears them for a copy to share outside this workspace. Credentials are cleared either way. |
1159
1161
|`--no-include-workspace-bindings`| No | Send --include-workspace-bindings as false. |
1160
1162
1161
1163
</CommandTable>
1162
1164
1163
-
Workspace bindings (a table, a child workflow, a knowledge base) print as null unless --include-workspace-bindings, and credentials always do: that is the export, not an unset block. To read what a block is set to, use `sim workflows outline` or `sim workflows state get`.
1165
+
A table, child workflow, knowledge base or other workspace binding prints as its id; a credential always prints as null. For a copy to share outside this workspace, pass --no-include-workspace-bindings to clear the bindings too.
1164
1166
1165
1167
API request and response schemas: [exportWorkflow](/api-reference/workflows/exportWorkflow).
Copy file name to clipboardExpand all lines: apps/docs/openapi-v2-tables.json
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -6383,7 +6383,7 @@
6383
6383
"type": "boolean"
6384
6384
},
6385
6385
"options": {
6386
-
"description": "Select options for select-type columns.",
6386
+
"description": "Select options for select-type columns, as [{\"id\":\"open\",\"name\":\"Open\"}].",
6387
6387
"maxItems": 100,
6388
6388
"type": "array",
6389
6389
"items": {
@@ -6422,7 +6422,7 @@
6422
6422
},
6423
6423
"required": ["columns"],
6424
6424
"additionalProperties": false,
6425
-
"description": "Initial table column definitions: {\"columns\":[{\"name\":\"email\",\"type\":\"string\"}]}. A column's type is one of string, number, currency, boolean, date, json, select; a select column also takes options."
6425
+
"description": "Initial table column definitions: {\"columns\":[{\"name\":\"email\",\"type\":\"string\",\"required\":true,\"unique\":true}]}. Column fields: id - Optional client-provided column identifier; name (required) - Column name; type (required) - Column data type; required - Whether inserts must supply a value for this column; unique - Whether values in the column must be unique; options - Select options for select-type columns, as [{\"id\":\"open\",\"name\":\"Open\"}]; multiple - Whether a select column accepts multiple values; currencyCode - ISO 4217 code for currency columns. A column's type is one of string, number, currency, boolean, date, json, select; a select column also takes options."
6426
6426
},
6427
6427
"folderPath": {
6428
6428
"description": "Folder in which to create the table.",
@@ -6662,7 +6662,7 @@
6662
6662
"type": "boolean"
6663
6663
},
6664
6664
"options": {
6665
-
"description": "Select options for select-type columns.",
6665
+
"description": "Select options for select-type columns, as [{\"id\":\"open\",\"name\":\"Open\"}].",
6666
6666
"maxItems": 100,
6667
6667
"type": "array",
6668
6668
"items": {
@@ -6701,7 +6701,7 @@
6701
6701
},
6702
6702
"required": ["name", "type"],
6703
6703
"additionalProperties": false,
6704
-
"description": "Column definition to add: {\"name\":\"status\",\"type\":\"string\"}. A column's type is one of string, number, currency, boolean, date, json, select; a select column also takes options."
6704
+
"description": "Column definition to add: {\"name\":\"status\",\"type\":\"string\"}. Column fields: id - Optional client-provided column identifier; name (required) - Column name; type (required) - Column data type; required - Whether inserts must supply a value for this column; unique - Whether values in the column must be unique; options - Select options for select-type columns, as [{\"id\":\"open\",\"name\":\"Open\"}]; multiple - Whether a select column accepts multiple values; currencyCode - ISO 4217 code for currency columns; position - Zero-based insertion position for the column. A column's type is one of string, number, currency, boolean, date, json, select; a select column also takes options."
0 commit comments