From 333ed538f55c50c7e0482401bc6d1682f1180ead Mon Sep 17 00:00:00 2001 From: Dalton Ponder <30848323+DivineStudio@users.noreply.github.com> Date: Tue, 7 Jan 2025 01:25:44 -0600 Subject: [PATCH] Update page.mdx (#10847) Updated the if-else example condition for when input.is_active is false. --- .../book/app/learn/fundamentals/workflows/conditions/page.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/apps/book/app/learn/fundamentals/workflows/conditions/page.mdx b/www/apps/book/app/learn/fundamentals/workflows/conditions/page.mdx index 8c60aa3caf..dced1e384d 100644 --- a/www/apps/book/app/learn/fundamentals/workflows/conditions/page.mdx +++ b/www/apps/book/app/learn/fundamentals/workflows/conditions/page.mdx @@ -109,7 +109,7 @@ const workflow = createWorkflow( const notIsActiveResult = when( input, (input) => { - return input.is_active + return !input.is_active } ).then(() => { return notIsActiveStep()