Class EventTaskLocator


  • public final class EventTaskLocator
    extends Object
    Helper for locating the workflow tasks that apply to a certain event.
    Since:
    7.0.0
    Author:
    XIMA MEDIA GmbH
    • Method Detail

      • findTasksToRun

        public static Map<Projekt,​Map<Vorgang,​List<IWorkflowQueueItem>>> findTasksToRun​(IWorkflowEventData eventData)
        Finds all task that apply to the given event data.
        Parameters:
        eventData - Event data to process.
        Returns:
        All tasks that apply to the given event data. Grouped by the project and form record they apply to.
      • findTasksToRunForFormRecord

        public static List<IWorkflowQueueItem> findTasksToRunForFormRecord​(IFormRecordProvidingEvent eventData)
        Finds all task that apply to the given form record event data.
        Parameters:
        eventData - Event data to process.
        Returns:
        All tasks that apply to the given form record event data.