Package org.activiti.workflow.simple.alfresco.step

Examples of org.activiti.workflow.simple.alfresco.step.AlfrescoEmailStepDefinition


  }
 
  @Test
  public void testConvertEmailStep() throws Exception {
    WorkflowDefinition definition = new WorkflowDefinition();
    AlfrescoEmailStepDefinition emailStep = new AlfrescoEmailStepDefinition();
    emailStep.setTo("fred");
    emailStep.setSubject("jos");
   
    definition.addStep(emailStep);
   
    WorkflowDefinitionConversion conversion = conversionFactory.createWorkflowDefinitionConversion(definition);
    conversion.convert();
View Full Code Here


    AlfrescoReviewStepDefinition review = new AlfrescoReviewStepDefinition();
    review.setName("Review");
    review.setAssignmentPropertyName("bpm:people");
    review.setAssignmentType(HumanStepAssignmentType.USERS);
    review.setRequiredApprovalCount("1");
    AlfrescoEmailStepDefinition emailStepDefinition = new AlfrescoEmailStepDefinition();
    emailStepDefinition.setName("Send rejection email");
    review.getRejectionSteps().add(emailStepDefinition);
    definition.addStep(review);
   
    WorkflowDefinitionConversion conversion = conversionFactory.createWorkflowDefinitionConversion(definition);
    conversion.convert();
View Full Code Here

TOP

Related Classes of org.activiti.workflow.simple.alfresco.step.AlfrescoEmailStepDefinition

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.