Class SendEmailAutomatedWorkflowTemplateJob<PROCESS extends B2BRegistrationProcessModel>

    • Constructor Detail

      • SendEmailAutomatedWorkflowTemplateJob

        public SendEmailAutomatedWorkflowTemplateJob()
    • Method Detail

      • setProcessDefinitionName

        public void setProcessDefinitionName​(java.lang.String processDefinitionName)
        Parameters:
        processDefinitionName - The name of the process definition that is responsible for sending an email. Processes are configured through XML files under the resource folder.
      • getProcessDefinitionName

        public java.lang.String getProcessDefinitionName()
        Returns:
        the processDefinitionName
      • perform

        public WorkflowDecisionModel perform​(WorkflowActionModel workflowActionModel)
        Description copied from interface: AutomatedWorkflowTemplateJob
        execution method for the automated workflow job
        Parameters:
        workflowActionModel - the workflow action that activated this method
        Returns:
        the decision that should be activated after this action finishes
      • generateProcessCode

        protected java.lang.String generateProcessCode​(CustomerModel customerModel)
        Generates a new 'unique' code for the process to be launched
        Parameters:
        customerModel - The customer associated to the workflow
        Returns:
        A code made of the process definition name, the customer's email and a timestamp