From 6a9417a1bb7fc9f60e44e15ac89ca2354d848923 Mon Sep 17 00:00:00 2001 From: Vallabh-Mahanta <147970864+Vallabh-Mahanta@users.noreply.github.com> Date: Thu, 17 Apr 2025 21:38:52 +0530 Subject: [PATCH] docs: fix step name in long-running workflow documentation (#12215) * docs: fix step name in long-running workflow documentation Fixed inconsistency in the step name - updated 'set-step-failure-step' to 'setStepFailureStep' to match the exported function name. Fixes #12143 * docs: fix step name in long-running workflow documentation Changed the step ID from "setStepFailureStep" to "set-step-failure-step" as requested to follow kebab-case naming convention for step IDs. Fixes #12143 * Update page.mdx I think this is done. Sorry for inconvenience caused by me. * Update page.mdx Sorry for the inconvenience. * Update page.mdx Sorry for the inconvenience. * Update page.mdx --------- Co-authored-by: Your Name --- .../fundamentals/workflows/long-running-workflow/page.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/apps/book/app/learn/fundamentals/workflows/long-running-workflow/page.mdx b/www/apps/book/app/learn/fundamentals/workflows/long-running-workflow/page.mdx index e87b5db028..1b285d904b 100644 --- a/www/apps/book/app/learn/fundamentals/workflows/long-running-workflow/page.mdx +++ b/www/apps/book/app/learn/fundamentals/workflows/long-running-workflow/page.mdx @@ -252,7 +252,7 @@ type SetStepFailureStepInput = { }; export const setStepFailureStep = createStep( - "set-step-success-step", + "set-step-failure-step", async function ( { transactionId }: SetStepFailureStepInput, { container } @@ -391,4 +391,4 @@ However, instead of the `subscriber` property, it requires a `subscriberOrId` pr To find a full example of a long-running workflow, refer to the [restaurant-delivery recipe](!resources!/recipes/marketplace/examples/restaurant-delivery). -In the recipe, you use a long-running workflow that moves an order from placed to completed. The workflow waits for the restaurant to accept the order, the driver to pick up the order, and other external actions. \ No newline at end of file +In the recipe, you use a long-running workflow that moves an order from placed to completed. The workflow waits for the restaurant to accept the order, the driver to pick up the order, and other external actions.