Creating a Reservation in Rindap utilizes the allocation of a Worker to perform a task. Creating a Reservation of resources guarantees that Tasks will be reserved for a Worker to do it. This way the work efficiency management becomes easier. Because workers will receive tasks for sure. When the application server receives an HTTP request, the request parameters will get adequate information about the Reservation.
Following are the ways to handle reservations:
- Responding to the Request from Rindap
- Handling by using the Rindap REST API
We will discuss these options for handling reservations in detail. Both options help developers to easily create scenarios for better work efficiency management. Developers can use these options while creating new workflows. These all help developers to better secure the healthy operation of a business process management application. Otherwise, there might be a lot of problems with the system.
In the Response Assignment option, the developer receives an Assignment Instruction in the response to the request, in the form of
The following instruction words are applicable :
- accepted – Acceptance of a Reservation and a Worker will perform the task.
- rejected – In this status the Reservation is rejected and the Task is queued back into TaskQueue to go to Awaiting Reservation status. Afterwards, if there is an available and idle worker, the Task gets to it. If rejection occurs 5 times for a Task, the task gets cancellation.