Class GetTaskInfo
java.lang.Object
com.aquima.interactions.framework.service.task.GetTaskInfo
- All Implemented Interfaces:
IService
Purpose
This service can be used to read task properties into the profile (for display purposes).
Context
This service can be called when a task is activated. When no task is active, an exception will be thrown. This
service expects the following optional parameters (empty parameters are ignored):
- id: entity.attribute destination for the task's id
- assignee: entity.attribute destination for the task's user, if applicable
- role: entity.attribute destination for the task's role, if applicable
- team: entity.attribute destination for the task's team, if applicable
- description: entity.attribute destination for the task's description
- timeoutdate: entity.attribute destination for the task's timeoutdate
- duedate: entity.attribute destination for the task's duedate
- name: entity.attribute destination for the task's name
- displayname: entity.attribute destination for the task's display name
- startdate: entity.attribute destination for the task's startdate
- status: entity.attribute destination for the task's status
Result
This service does not return an event.
- Since:
- 7.1
- Author:
- Jon van Leuven, Rick Fleuren
-
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
-
GetTaskInfo
public GetTaskInfo()
-
-
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.
-