Class NextTasksForMessageEvent

java.lang.Object
com.aquima.interactions.framework.service.task.NextTasksForMessageEvent
All Implemented Interfaces:
IService

public class NextTasksForMessageEvent extends Object implements IService

Purpose
This service can be used to act on the number of tasks available for the cases that are affected after a message event.

Result
This service activates the task when only one is available 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:
9.1
Author:
Nicky van Noorloos
  • Field Details

  • Constructor Details

    • NextTasksForMessageEvent

      public NextTasksForMessageEvent()
  • Method Details

    • handle

      public IServiceResult handle(IServiceContext context) throws Exception
      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 interface IService
      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:
      Exception - When an unexpected exception occurs and the portal should display a standard message.