From 9865791084126117e3912bd7b4659fb2bf0a70d2 Mon Sep 17 00:00:00 2001 From: Stefan Guilhen Date: Tue, 23 Dec 2025 15:29:33 -0300 Subject: [PATCH] Fix wrong provider references in workflows documentation Closes #45077 Signed-off-by: Stefan Guilhen --- .../topics/workflows/understanding-common-use-cases.adoc | 4 ++-- .../topics/workflows/understanding-workflow-definition.adoc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/documentation/server_admin/topics/workflows/understanding-common-use-cases.adoc b/docs/documentation/server_admin/topics/workflows/understanding-common-use-cases.adoc index 6574b2c9d2f..9e8b46327ac 100644 --- a/docs/documentation/server_admin/topics/workflows/understanding-common-use-cases.adoc +++ b/docs/documentation/server_admin/topics/workflows/understanding-common-use-cases.adoc @@ -12,13 +12,13 @@ When a new user is created, a workflow can automatically send a welcome email, a ```yaml name: Onboarding gold members -on: user_created +on: user-created if: has-user-attribute('membership','gold') steps: - uses: notify-user with: message: "Welcome to the Gold Membership program!" - - uses: assign-user-role + - uses: grant-role with: role: gold-member ``` diff --git a/docs/documentation/server_admin/topics/workflows/understanding-workflow-definition.adoc b/docs/documentation/server_admin/topics/workflows/understanding-workflow-definition.adoc index 778f04a126e..1ba5a612304 100644 --- a/docs/documentation/server_admin/topics/workflows/understanding-workflow-definition.adoc +++ b/docs/documentation/server_admin/topics/workflows/understanding-workflow-definition.adoc @@ -11,7 +11,7 @@ In its simplest form, a workflow definition can be defined as follows: ```yaml name: Onboarding new users -on: user_added +on: user_created steps: - uses: notify-user with: