Class FailedStepService


  • @ApplicationScoped
    public class FailedStepService
    extends Object
    The type Failed step service.
    • Constructor Detail

      • FailedStepService

        public FailedStepService()
    • Method Detail

      • createOrUpdateFailedStep

        public FailedStep createOrUpdateFailedStep​(org.eclipse.microprofile.reactive.messaging.Message<String> message)
                                            throws org.hibernate.service.spi.ServiceException
        Throws:
        org.hibernate.service.spi.ServiceException
      • createOrUpdateBusinessFailedStep

        public FailedStep createOrUpdateBusinessFailedStep​(ProcessStepExecution workItem,
                                                           ProcessStepExecutionResult executionResult)
                                                    throws org.hibernate.service.spi.ServiceException,
                                                           IOException
        Create Failed step for a process step that was technically executed ok, but resulted in business error
        Parameters:
        workItem - process execution data
        executionResult - process execution result data
        Returns:
        created failed step
        Throws:
        org.hibernate.service.spi.ServiceException
        IOException
      • updateFailedStep

        public FailedStep updateFailedStep​(ProcessStepExecution workItem,
                                           String referencedStepName,
                                           String resolutionOptions,
                                           String resolutionSignalId)
                                    throws org.hibernate.service.spi.ServiceException
        Throws:
        org.hibernate.service.spi.ServiceException