Package org.activiti.workflow.simple.alfresco.model.config

Examples of org.activiti.workflow.simple.alfresco.model.config.Module.addConfiguration()


    // Update task-key on the task itself
    userTask.setFormKey(type.getName());
   
    // Create a form-config for the task
    Module shareModule = AlfrescoConversionUtil.getExtension(conversion).getModules().get(0);
    Configuration configuration = shareModule.addConfiguration(AlfrescoConversionConstants.EVALUATOR_TASK_TYPE
        , type.getName());
    Form formConfig = configuration.createForm();
   
    // Populate model and form based on FormDefinition
    formCreator.createForm(type, formConfig, humanStep.getForm(), conversion);
View Full Code Here


      if(flowElement instanceof StartEvent) {
        StartEvent startEvent = (StartEvent) flowElement;
        if(startEvent.getFormKey() == null) {
         
          Module module = AlfrescoConversionUtil.getExtension(conversion).getModules().get(0);
          Configuration detailsForm = module.addConfiguration(EVALUATOR_STRING_COMPARE,
              MessageFormat.format(EVALUATOR_CONDITION_ACTIVITI, conversion.getProcess().getId()));
         
          // No form-key is set, either use the default or generate of start-form if this
          // is available
          if(conversion.getWorkflowDefinition().getStartFormDefinition() != null
View Full Code Here

                AlfrescoConversionConstants.START_TASK_SIMPLE_NAME));
            type.setParentName(AlfrescoConversionConstants.DEFAULT_START_FORM_TYPE);
           
            // Create a form-config for the start-task
            Module shareModule = AlfrescoConversionUtil.getExtension(conversion).getModules().get(0);
            Configuration configuration = shareModule.addConfiguration(AlfrescoConversionConstants.EVALUATOR_TASK_TYPE
                , type.getName());
            Form formConfig = configuration.createForm();
            formConfig.setStartForm(true);
           
            // Populate model and form based on FormDefinition
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.