Interface DocumentRoutingEngineService

    • Method Detail

      • start

        void start​(DocumentRoute routeInstance,
                   Map<String,​Serializable> map,
                   CoreSession session)
        Starts a route.
        Parameters:
        routeInstance - the route instance
        map - the values to pass as initial workflow variables
        session - the session
        Since:
        5.6
      • resume

        void resume​(DocumentRoute routeInstance,
                    String nodeId,
                    String taskId,
                    Map<String,​Object> data,
                    String status,
                    CoreSession session)
        Resumes a route, optionnally for a given task only.
        Parameters:
        routeInstance - the route instance
        nodeId - the node id to resume on (optional)
        taskId - the task id that resumes (optional)
        data - the data coming from UI form
        status - the name of the button clicked to submit the associated task form
        session - the session
        Since:
        5.6
      • cancel

        void cancel​(DocumentRoute routeInstance,
                    CoreSession session)
        Cancels a route using an unrestricted session. (@since 5.7.2 the event 'workflowCanceled' is notified.)
        Parameters:
        routeInstance - the route instance
        session - the session
        Since:
        5.6