How to use KuFlow
What can you use KuFlow for? There are many ways for you to benefit from its use. Here we tell you some of them, although they are just a sample. Some of them can be combined, and surely your imagination can come up with some other use that we have not even thought of.
Integrating human task management into an existing system
If all you need to do is to manage human tasks in a specific system, the solution is to use only the KuFlow API.
Example:
- The system creates a process in the KuFlow API.
- The system creates a task in the KuFlow API.
- The system assigns the task to a human through the KuFlow API.
- The system provides the human with a view of all its tasks using the KuFlow API.
- The human performs the task.The system marks the task as completed using the KuFlow API.
Advantages:
- It is not necessary to develop human task management in each of the systems used by the organization.
Integrating human task management into all systems of an organization
If, in addition to managing human tasks in a specific system, you want to have a centralized management of all human tasks in all systems of the organization, the solution is to use the KuFlow API and the KuFlow UI.
Example:
- Any system creates a process in the KuFlow API.
- Any system creates a task in the KuFlow API.
- Any system assigns a task to a human via the KuFlow API.
- The human queries its tasks in the KuFlow UI.
- The human accesses the assigned task in the KuFlow UI.
- The human performs the task and marks the task as completed in the KuFlow UI.
- KuFlow informs the source system that the task has been completed using a Webhook.
Advantages:
- It is not necessary to develop human task management in each of the systems used by the organization.
- The humans working in the organization have a tool that allows them to visualize and manage all their tasks in an integrated way.
Orchestrate human workflows
If you want to create a flow of human tasks, KuFlow allows you to define the content of the tasks and orchestrate the creation of each one of them. To do this, it is necessary to develop a worker workflow where the flow of tasks is defined. In the flow itself, the tasks are managed through KuFlow activity worker.
Example:
- Any system creates a process through the KuFlow API.
- KuFlow is responsible for invoking the workflow worker implementation created for this flow.
- From this point on, the defined workflow specifies the creation of new tasks that can be executed sequentially or in parallel.
- The human queries his tasks in the KuFlow UI.
- The human accesses the task assigned to him in the KuFlow UI.
- The human performs the task and marks the task as completed in the KuFlow UI.
- KuFlow informs the workflow that the task has been completed.
- The workflow can specify the creation of other tasks.
Advantages:
- It is not necessary to develop human task management in each of the systems used by the organization.
- The humans working in the organization have a tool that allows them to visualize and manage all their tasks in an integrated way.
- The orchestration logic that guides the creation of tasks is executed within KuFlow ensuring that the workflow is scalable and fault tolerant.
Orchestrating business processes involving human and other systems
If, in addition to managing human tasks, we want KuFlow to help you manage business processes in which both humans and other applications or systems are involved, in addition to all the KuFlow modules mentioned above, we will have to develop activity workers to integrate the participating systems.
Example:
- Any system creates a process through the KuFlow API.
- KuFlow is responsible for invoking the workflow worker implementation created for this flow.
- From this point on, the defined workflow specifies the creation of new tasks that can be executed sequentially or in parallel.
- If the workflow creates human tasks:
- The human queries its tasks in the KuFlow UI.
- The human accesses the task assigned to him in the KuFlow UI.
- The human performs the task and marks the task as completed in the KuFlow UI.
- KuFlow informs the workflow that the task has been completed.
- If the workflow determines that another system needs to be invoked to perform some activity:
- The workflow assigns the activity to the appropriate activity worker.
- The activity worker performs the interactions with the external system.
- The activity worker returns the results to the workflow.
- The workflow can specify the creation of other tasks or activities.
Advantages:
- It is not necessary to develop human task management in each of the systems used by the organization.
- The humans working in the organization have a tool that allows them to visualize and manage all their tasks in an integrated way.
- The orchestration logic that guides the creation of tasks and activities is executed within KuFlow ensuring that the business process is scalable and fault tolerant.