Class AssignTask
java.lang.Object
com.aquima.interactions.framework.service.task.AssignTask
- All Implemented Interfaces:
IService
Purpose
This service can be used to assign a task to specific users or a combination of teams and roles.
Context
This service can be called when a task is activated. When no task is active, an exception will be thrown. One of the
following parameters is expected:
- Users: expression for the value of user(s) the task will be assigned to.
- Teams: expression for the value of team(s) the task will be assigned to.
- Roles: expression for the value of role(s) the task will be assigned to.
Result
This service does not return an event.
- Since:
- 9.1
- Author:
- Nicky van Noorloos
-
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.
-
Constructor Details
-
AssignTask
public AssignTask()
-
-
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.- Specified by:
handle
in interfaceIService
- Parameters:
context
- the context in which the service is called and allowed to make changes.- Returns:
- The result of this service, may be null.
- Throws:
ServiceException
- When an expected exception occurs and the portal should display certain messages.Exception
- When an unexpected exception occurs and the portal should display a standard message.
-