Workflow extensions allow you to attach a custom workflow to various operations in the API Manager such as user sign up, application creation, registration, subscription etc. By default, the API Manager workflows have Simple Workflow Executor engaged in them. The Simple Workflow Executor carries out an operation without any intervention by a workflow admin. For example, when the user creates an application, the Simple Workflow Executor allows the application to be created without the need for an admin to approve the creation process.
In order to enforce intervention by a workflow admin, you can engage the WS Workflow Executor. It invokes an external Web service when executing a workflow and the process completes based on the output of the Web service. For example, when the user creates an application, the request goes into an intermediary state where it remains until authorized by a workflow admin.
By default, the API Manager comes with,
- A sample BPEL and Human Task for each standard workflow such as application creation, registration, subscription etc. Rather than using these default workflow implementations, you can also customize them.
- A Jaggery-based Web application named
workflow-admin
(https://localhost:9443/workflow-admin
). It provides a GUI for the workflow admin to approve/reject pending Human Tasks.
The sections below explain different plug points provided by the API Manager to engage business processes with API management operations. They also explain how to customize the default workflows: