The workflow feature enables you to add more control and constraints to the tasks executed within it. For instance, with the workflow feature, you can add another constraint to the ‘User Add’ operation in the WSO2 Identity Server, that requires manager approval when adding a user account. These are workflows where the operations go through a predefined path. These types of tasks can be done through the WSO2 Business Process Server (WSO2 BPS) but this new feature adds that capability to the identity server as well. This topic demonstrates how you can work with workflows in identity server.
The following is a sample use case:
Consider a company where new employees are added to the system by HR, but only after it goes through an approval process. For example, a senior HR manager has to approve new user additions. Once this is done, the user can login to the system and continue his work. The following sections will guide through the process of implementing this sample use case.
- WSO2 Identity Server (WSO2 IS)
An embedded_bps engine is included in WSO2 Identity Server to execute this feature. However, if you need more flexibility and more extensibility with this feature than what is currently provided, it is advisable to integrate WSO2 Business Process Server (WSO2 BPS) with the Identity Server.
Implementing the use case