Update page.mdx (#10847)
Updated the if-else example condition for when input.is_active is false.
This commit is contained in:
@@ -109,7 +109,7 @@ const workflow = createWorkflow(
|
||||
const notIsActiveResult = when(
|
||||
input,
|
||||
(input) => {
|
||||
return input.is_active
|
||||
return !input.is_active
|
||||
}
|
||||
).then(() => {
|
||||
return notIsActiveStep()
|
||||
|
||||
Reference in New Issue
Block a user