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
Copy file name to clipboardExpand all lines: dsl-reference.md
+8-10Lines changed: 8 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,7 @@
44
44
+[Retry](#retry)
45
45
+[Input](#input)
46
46
+[Output](#output)
47
+
+[Export] (#export)
47
48
+[Timeout](#timeout)
48
49
+[Duration](#duration)
49
50
+[HTTP Response](#http-response)
@@ -1419,34 +1420,31 @@ to: '.petList += [ . ]'
1419
1420
1420
1421
### Export
1421
1422
1422
-
Certain task needs to set the context of the workflow using the task output for later usage. User set the content of the context through a runtime expression. The result of the expression is the new value of the context. If user want to merge the new data into the current context, he might do that using `$context` variable.
1423
-
1424
-
Optionally, the context can have a predefined schema.
1423
+
Certain task needs to set the workflow context to save the task output for later usage. Users set the content of the context through a runtime expression. The result of the expression is the new value of the context. The expression is evaluated against the existing context.
1425
1424
1425
+
Optionally, the context might have an associated schema.
1426
1426
1427
1427
#### Properties
1428
1428
1429
1429
| Property | Type | Required | Description |
1430
1430
|----------|:----:|:--------:|-------------|
1431
1431
| schema | [`schema`](#schema) | `no` | The [`schema`](#schema) used to describe and validate context.<br>*Included to handle the non frequent case in which the context has a known format.* |
1432
-
| as | `string`<br>`object` | `no` | A [runtime expression](#runtime-expressions), if any, used to set the context value. |
1432
+
| as | `string`<br>`object` | `no` | A runtime expression, if any, used to export the output data to the context. |
1433
1433
1434
1434
#### Examples
1435
1435
1436
-
Assuming the output of the task is a json object (not primitive, not array)
1437
-
Merge into the current context the output of the task.
0 commit comments