Class ResumeFlowClock

  • All Implemented Interfaces:
    IServiceClock

    public class ResumeFlowClock
    extends GenericServiceClock
    Clock for resuming suspended flows.
    Since:
    12.1.0
    Version:
    $Revision: 24172 $ $Date: 2020-10-07 18:10:00 -0300 (Wed, 07 Oct 2020) $
    • Constructor Detail

      • ResumeFlowClock

        public ResumeFlowClock()
    • Method Detail

      • doTick

        public void doTick​(SessionConfig sessionConfig,
                           ClockConfig clockConfig)
                    throws PortalException
        Description copied from interface: IServiceClock
        Executes a clock tick. This interface must be implemented by an object that handles clock ticks. Based on the service definition and/or the custom definition specified by the user this method will be called on regular intervals.
        Parameters:
        sessionConfig - the user session information.
        clockConfig - the clock.
        Throws:
        PortalException
      • resumeAllSuspended

        public static void resumeAllSuspended()
                                       throws PortalException
        Resumes all suspended flows that has a resume date before now.
        Throws:
        PortalException
        Since:
        12.1.0
      • resumeAllTimeoutWaitingForEvent

        public static void resumeAllTimeoutWaitingForEvent()
                                                    throws PortalException
        Resumes the timed out flows that were waiting for an event to happen.
        Throws:
        PortalException
        Since:
        12.2.0