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.