docs: clarify condition / variable manipulation restriction for workflows and steps (#11125)

This commit is contained in:
Shahed Nasser
2025-01-23 19:29:59 +02:00
committed by GitHub
parent 97280cd928
commit 36a08ac133
2 changed files with 12 additions and 0 deletions

View File

@@ -14,6 +14,12 @@ So, you can't use an if-condition that checks a variable's value, as the conditi
Instead, use when-then from the Workflows SDK. It allows you to perform steps in a workflow only if a condition that you specify is satisfied.
<Note title="Tip">
Restrictions for conditions is only applicable in a workflow's definition. You can still use if-conditions in your step's code.
</Note>
---
## How to use When-Then?

View File

@@ -16,6 +16,12 @@ So, you can only pass variables as parameters to steps. But, in a workflow, you
Instead, use `transform` from the Workflows SDK.
<Note title="Tip">
Restrictions for variable manipulation is only applicable in a workflow's definition. You can still manipulate variables in your step's code.
</Note>
---
## What is the transform Utility?