Class NextTasksForCase
java.lang.Object
com.aquima.interactions.framework.service.task.NextTasksForCase
- All Implemented Interfaces:
IService
Purpose
This service can be used to act on the number of tasks available for the current active case.
Context
This service can be called when a case is activated. When no case is active, an exception will be thrown.
Result
This service activates the task when only one is available for the active case and returns the events:
- 'One': when there is one task available for the active case.
- 'None': when there is no task available for the active case.
- 'Multiple': when there are more than one tasks available for the active case.
- Since:
- 7.1
- Author:
- Jon van Leuven
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final IServiceResult
static final IServiceResult
static final IServiceResult
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionhandle
(IServiceContext context) The handle method of the service is allowed to make changes to the interfaces passed along with the IServiceContext.
-
Field Details
-
Constructor Details
-
Method Details
-
handle
Description copied from interface:IService
The handle method of the service is allowed to make changes to the interfaces passed along with the IServiceContext. This means the service context is changed accordingly.
-