Skip to content

Commit f11975a

Browse files
Merge pull request #5655 from sadilchamishka/update-workflow-request-cleanup-docs
Add workflow request cleanup doc
2 parents 93fcb31 + 5b8c3df commit f11975a

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

en/includes/guides/workflows/workflow-requests.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,18 @@ To view the details of a workflow request, you can click on the request in the l
2828
You can abort a workflow request that's pending approval.
2929

3030
![Abort workflow request]({{base_path}}/assets/img/guides/workflows/workflow-request-abort.png){: width="800" style="display: block; margin: 0; border: 0.3px solid lightgrey;"}
31+
32+
### Workflow requests cleanup
33+
34+
{% if product_name == "WSO2 Identity Server" %}
35+
You can remove completed workflow request records to improve database performance. Select and run the cleanup script for your database. The cleanup can be performed with or without a backup, and you can also schedule it to run automatically.
36+
37+
- [DB2](https://github.com/wso2/carbon-identity-framework/tree/master/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/dbscripts/stored-procedures/db2/workflow-cleanup)
38+
- [MSSQL](https://github.com/wso2/carbon-identity-framework/tree/master/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/dbscripts/stored-procedures/mssql/workflow-cleanup)
39+
- [MySQL](https://github.com/wso2/carbon-identity-framework/tree/master/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/dbscripts/stored-procedures/mysql/workflow-cleanup)
40+
- [Oracle](https://github.com/wso2/carbon-identity-framework/tree/master/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/dbscripts/stored-procedures/oracle/workflow-cleanup)
41+
- [PostgreSQL 9.X](https://github.com/wso2/carbon-identity-framework/tree/master/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/dbscripts/stored-procedures/postgresql/postgre-9x/workflow-cleanup)
42+
- [PostgreSQL 11.X to 17.X](https://github.com/wso2/carbon-identity-framework/tree/master/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/dbscripts/stored-procedures/postgresql/postgre-11x/workflow-cleanup)
43+
{% else %}
44+
The retention period for the completed workflow requests is 1 month.
45+
{% endif %}

0 commit comments

Comments
 (0)