Skip to content

Commit e9a13e8

Browse files
committed
chore: add log step
1 parent 320ebb7 commit e9a13e8

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

documentation/docs/advanced/types-of-task-steps.mdx

+8
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,14 @@ Execute subworkflows:
340340
analysis_result: _
341341
```
342342

343+
### Log Step
344+
345+
Log messages or specific values:
346+
347+
```yaml
348+
- log: "Processing completed for item {{item_id}}"
349+
```
350+
343351
## Example: Complex Workflow
344352

345353
Here's an example combining various step types:

documentation/docs/concepts/tasks.mdx

+1
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ Below is a table of all the steps that can be used in a task.
109109
| [Sleep](/docs/advanced/types-of-task-steps#sleep-step) | Pause execution |
110110
| [Return](/docs/advanced/types-of-task-steps#return-step) | Return values from workflow |
111111
| [Yield](/docs/advanced/types-of-task-steps#yield-step) | Execute subworkflows |
112+
| [Log](/docs/advanced/types-of-task-steps#log-step) | Log messages or specific values |
112113
113114
> You can learn more about workflow steps as to how they work in the [Workflow Steps](/docs/advanced/types-of-task-steps) section.
114115

0 commit comments

Comments
 (0)