Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{% include "../../../../includes/guides/user-self-service/manage-approvals.md" %}
1 change: 1 addition & 0 deletions en/asgardeo/docs/guides/workflows/approve-workflow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{% include "../../../../includes/guides/workflows/approve-workflow.md" %}
1 change: 1 addition & 0 deletions en/asgardeo/docs/guides/workflows/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{% include "../../../../includes/guides/workflows/index.md" %}
1 change: 1 addition & 0 deletions en/asgardeo/docs/guides/workflows/workflow-requests.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{% include "../../../../includes/guides/workflows/workflow-requests.md" %}
5 changes: 5 additions & 0 deletions en/asgardeo/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,10 @@ nav:
- Manage remote user stores: guides/users/user-stores/update-user-stores.md
- Deployment best practices: guides/users/user-stores/deployment-best-practices.md
- Advanced configuration for the agent: guides/users/user-stores/advanced-configurations-for-the-agent.md
- Workflows:
- Workflows: guides/workflows/index.md
- Approvals: guides/workflows/approve-workflow.md
- Workflow requests: guides/workflows/workflow-requests.md
- Account configurations:
- Account configurations: guides/account-configurations/index.md
- Login security:
Expand Down Expand Up @@ -428,6 +432,7 @@ nav:
- Enroll TOTP: guides/user-self-service/enable-totp.md
- Manage backup codes: guides/user-self-service/manage-backup-codes.md
- Discover applications: guides/user-self-service/discover-applications.md
- Manage approvals: guides/user-self-service/manage-approvals.md
- Build self-service capabilities: guides/user-self-service/build-self-service-capabilities.md
- Organizations:
- Organizations: guides/organization-management/index.md
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{% include "../../../../../includes/guides/user-self-service/manage-approvals.md" %}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{% include "../../../../../includes/guides/workflows/approve-workflow.md" %}
1 change: 1 addition & 0 deletions en/identity-server/next/docs/guides/workflows/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{% include "../../../../../includes/guides/workflows/index.md" %}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{% include "../../../../../includes/guides/workflows/workflow-requests.md" %}
6 changes: 6 additions & 0 deletions en/identity-server/next/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,10 @@ nav:
- Migrate users to WSO2 Identity Server: guides/users/migrate-users/index.md
- Migrate user accounts: guides/users/migrate-users/migrate-users.md
- Migrate user passwords: guides/users/migrate-users/migrate-passwords.md
- Workflows:
- Workflows: guides/workflows/index.md
- Approvals: guides/workflows/approve-workflow.md
- Workflow requests: guides/workflows/workflow-requests.md
- Account configurations:
- Account configurations: guides/account-configurations/index.md
- Login security:
Expand Down Expand Up @@ -692,6 +696,8 @@ nav:
- Enroll TOTP: guides/user-self-service/enable-totp.md
- Manage backup codes: guides/user-self-service/manage-backup-codes.md
- Discover applications: guides/user-self-service/discover-applications.md
- Manage approvals: guides/user-self-service/manage-approvals.md

- Build self-service capabilities: guides/user-self-service/build-self-service-capabilities.md
- Organizations:
- Organizations: guides/organization-management/index.md
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@
``` bash
{{my_account_org_link}}
```



Listed below are self-service features that are available for the user in the **My Account portal**.

Check warning on line 16 in en/includes/guides/user-self-service/configure-self-service-portal.md

View workflow job for this annotation

GitHub Actions / Vale style check

[vale] reported by reviewdog 🐶 [write-good.E-Prime] Try to avoid using 'are'. Raw Output: {"message": "[write-good.E-Prime] Try to avoid using 'are'.", "location": {"path": "en/includes/guides/user-self-service/configure-self-service-portal.md", "range": {"start": {"line": 16, "column": 45}}}, "severity": "INFO"}

Check warning on line 16 in en/includes/guides/user-self-service/configure-self-service-portal.md

View workflow job for this annotation

GitHub Actions / Vale style check

[vale] reported by reviewdog 🐶 [write-good.E-Prime] Try to avoid using 'are'. Raw Output: {"message": "[write-good.E-Prime] Try to avoid using 'are'.", "location": {"path": "en/includes/guides/user-self-service/configure-self-service-portal.md", "range": {"start": {"line": 16, "column": 14}}}, "severity": "INFO"}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Listed below are self-service features that are available for the user in the **My Account portal**.
Users can access the following self-service features from the **My Account portal**.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These were not changed by this PR and Vale detects all the issues in a changed file. Do we still need to fix this via my changes?


- [Update profile information]({{base_path}}/guides/user-self-service/update-profile-info/)
- [Change password]({{base_path}}/guides/user-self-service/change-password/)
Expand All @@ -29,8 +26,10 @@
- [Manage password recovery]({{base_path}}/guides/user-self-service/user-password-recovery/)
- [Discover and maintain applications]({{base_path}}/guides/user-self-service/discover-applications/)
- [Register passkeys]({{base_path}}/guides/user-self-service/register-passkey/)
- [View and update the approvals]({{base_path}}/guides/user-self-service/manage-approvals/)

{% if product_name == "Asgardeo" or (product_name == "WSO2 Identity Server" and is_version != "7.0.0")%}

## Enable/Disable the My Account portal

Follow the steps given below to manage access to the My Account portal for users in your organization.
Expand Down Expand Up @@ -59,4 +58,4 @@
!!! note
Explore the authentication options offered by {{product_name}} in the [Authentication]({{base_path}}/guides/authentication/) section.

4. Click **Update** to save the changes.
4. Click **Update** to save the changes.
9 changes: 9 additions & 0 deletions en/includes/guides/user-self-service/manage-approvals.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Using the My Account Portal, users can view and update their approvals. This allows users to manage their pending requests and actions that require their attention.

To view the approvals, user can navigate to the **Approvals** section from the My Account Portal side menu.

![My Account Approvals]({{base_path}}/assets/img/guides/workflows/myaccount-approval.png){: width="800" style="display: block; margin: 0; border: 0.3px solid lightgrey;"}

Check warning on line 5 in en/includes/guides/user-self-service/manage-approvals.md

View workflow job for this annotation

GitHub Actions / Vale style check

[vale] reported by reviewdog 🐶 [Microsoft.Semicolon] Try to simplify this sentence. Raw Output: {"message": "[Microsoft.Semicolon] Try to simplify this sentence.", "location": {"path": "en/includes/guides/user-self-service/manage-approvals.md", "range": {"start": {"line": 5, "column": 168}}}, "severity": "INFO"}

Check warning on line 5 in en/includes/guides/user-self-service/manage-approvals.md

View workflow job for this annotation

GitHub Actions / Vale style check

[vale] reported by reviewdog 🐶 [Microsoft.Semicolon] Try to simplify this sentence. Raw Output: {"message": "[Microsoft.Semicolon] Try to simplify this sentence.", "location": {"path": "en/includes/guides/user-self-service/manage-approvals.md", "range": {"start": {"line": 5, "column": 137}}}, "severity": "INFO"}

Check warning on line 5 in en/includes/guides/user-self-service/manage-approvals.md

View workflow job for this annotation

GitHub Actions / Vale style check

[vale] reported by reviewdog 🐶 [Microsoft.Semicolon] Try to simplify this sentence. Raw Output: {"message": "[Microsoft.Semicolon] Try to simplify this sentence.", "location": {"path": "en/includes/guides/user-self-service/manage-approvals.md", "range": {"start": {"line": 5, "column": 126}}}, "severity": "INFO"}

Check warning on line 5 in en/includes/guides/user-self-service/manage-approvals.md

View workflow job for this annotation

GitHub Actions / Vale style check

[vale] reported by reviewdog 🐶 [Microsoft.FirstPerson] Use first person (such as 'My') sparingly. Raw Output: {"message": "[Microsoft.FirstPerson] Use first person (such as 'My') sparingly.", "location": {"path": "en/includes/guides/user-self-service/manage-approvals.md", "range": {"start": {"line": 5, "column": 3}}}, "severity": "WARNING"}

This page shows all the approvals available for the user to approve.

Learn more about the approvals and its lifecycle in the [Approvals]({{base_path}}/guides/workflows/approve-workflow/) guide.
24 changes: 24 additions & 0 deletions en/includes/guides/workflows/approve-workflow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
To view the workflow approvals, you need to navigate to the **Approvals** page under the **User Management** in the admin console or in the [My Account]({{base_path}}/guides/user-self-service/manage-approvals/). There, you will see a list of approvals that you can approve.

Check warning on line 1 in en/includes/guides/workflows/approve-workflow.md

View workflow job for this annotation

GitHub Actions / Vale style check

[vale] reported by reviewdog 🐶 [Microsoft.FirstPerson] Use first person (such as 'My') sparingly. Raw Output: {"message": "[Microsoft.FirstPerson] Use first person (such as 'My') sparingly.", "location": {"path": "en/includes/guides/workflows/approve-workflow.md", "range": {"start": {"line": 1, "column": 142}}}, "severity": "WARNING"}

![Workflow approval page]({{base_path}}/assets/img/guides/workflows/workflow-approvals.png){: width="800" style="display: block; margin: 0; border: 0.3px solid lightgrey;"}

Check warning on line 3 in en/includes/guides/workflows/approve-workflow.md

View workflow job for this annotation

GitHub Actions / Vale style check

[vale] reported by reviewdog 🐶 [Microsoft.Semicolon] Try to simplify this sentence. Raw Output: {"message": "[Microsoft.Semicolon] Try to simplify this sentence.", "location": {"path": "en/includes/guides/workflows/approve-workflow.md", "range": {"start": {"line": 3, "column": 170}}}, "severity": "INFO"}

Check warning on line 3 in en/includes/guides/workflows/approve-workflow.md

View workflow job for this annotation

GitHub Actions / Vale style check

[vale] reported by reviewdog 🐶 [Microsoft.Semicolon] Try to simplify this sentence. Raw Output: {"message": "[Microsoft.Semicolon] Try to simplify this sentence.", "location": {"path": "en/includes/guides/workflows/approve-workflow.md", "range": {"start": {"line": 3, "column": 139}}}, "severity": "INFO"}

Check warning on line 3 in en/includes/guides/workflows/approve-workflow.md

View workflow job for this annotation

GitHub Actions / Vale style check

[vale] reported by reviewdog 🐶 [Microsoft.Semicolon] Try to simplify this sentence. Raw Output: {"message": "[Microsoft.Semicolon] Try to simplify this sentence.", "location": {"path": "en/includes/guides/workflows/approve-workflow.md", "range": {"start": {"line": 3, "column": 128}}}, "severity": "INFO"}

### Approval lifecycle

Approval lifecycle contains several states:

- **Reserved**: You have claimed(assigned) the approval, so no one else can approve it until you either approve or release it.
- **Ready**: You can approve this request. This status appears when no one has claimed it yet.
- **Approved**: You have approved the request.
- **Rejected**: You have rejected the request.
- **Blocked**: Another participant has claimed the approval, so you can’t act on it.

!!! Note
Claiming an approval lets you assign it to yourself. Once you claim an approval, no one else can approve it. This helps ensure that only you approve the request.

Also note that even if you claim an approval, you can still release it back to the pool of approvals so that other participants can approve it.

### View approval details

To view the details of an approval, you can click on the approval in the list. This will open the approval details page where you can see the details of the approval related to the operation.

![Approval details]({{base_path}}/assets/img/guides/workflows/approval-details.png){: width="800" style="display: block; margin: 0; border: 0.3px solid lightgrey;"}
36 changes: 36 additions & 0 deletions en/includes/guides/workflows/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
Workflows are a series of steps that require to complete a selected operation in the {{ product_name }}. These workflows
should be configured by the administrators by defining the steps and the participants involved in each step.

### Create a workflow

To create a workflow, visit the **Workflows** section in the admin console and go to the **Approval Workflows** section.
Now you can create a new workflow by clicking on the **New Approval Workflow** button. You will be prompted to provide a
name and description for the workflow.

### Configure workflow operations

Once you have provided the name and description, you can select the operations that this workflow should support.
The workflows are supported following types of operations:

- **User Creation**: Triggered when a new user is created.
- **User Deletion**: Triggered when a user is deleted.
- **Role Creation**: Triggered when a new role is created.
- **User Role Assignment**: Triggered when users of a role have changed.

!!! note
In the workflow creation page, you can select multiple operations if approval steps are common for those operations.

### Configure workflow steps

The final configuration of the workflow creation is to configure the steps of the workflow. You can add multiple steps to a workflow and each step can have multiple participants. The participants can be either users or roles.

![Workflow steps configuration]({{base_path}}/assets/img/guides/workflows/workflow-steps-configuration.png){: width="600" style="display: block; margin: 0; border: 0.3px solid lightgrey;"}

Once you have configured the steps, you can save the workflow. The workflow will now be available for use in the system.

!!! note
If you assign admin user in the first step of approval and if admin creates a user, still workflow will be triggered.
And also other participants of the first step will also receive the approval request.

Once the workflow is created, you can view the details of the workflow, edit it or delete it.
To approve the workflow, you need to go the approvals section under the User Management in the console or use my account approvals. See [Approve a workflow]({{base_path}}/guides/workflows/approve-workflow/) for more information on how to approve a workflow.
20 changes: 20 additions & 0 deletions en/includes/guides/workflows/workflow-requests.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Workflow request page is located under the workflows section. It gives administrators full visibility into every workflow approval request across the tenant.
Administrators can use it to audit progress, and detect bottlenecks.

![Workflow request page]({{base_path}}/assets/img/guides/workflows/workflow-requests.png){: width="800" style="display: block; margin: 0; border: 0.3px solid lightgrey;"}

This page lists all the workflow requests that are the tenant. You can filter the requests by the Operation Type, Status, Created Time Range and Updated Time Range.

### Status of the workflow requests

- **Pending**: The workflow request is pending and waiting for approval.
- **Approved**: The workflow request is approved by the participant/s.
- **Rejected**: The workflow request is rejected by a participant.
- **Failed**: The workflow request has failed after the approval due to an error.
- **Deleted**: The workflow request has been deleted by the administrator.

### View workflow request details

To view the details of a workflow request, you can click on the request in the list.

![Workflow request page]({{base_path}}/assets/img/guides/workflows/workflow-request-details.png){: width="800" style="display: block; margin: 0; border: 0.3px solid lightgrey;"}
Loading