Package org.joget.workflow.model

Examples of org.joget.workflow.model.WorkflowDeadline


           
            ApplicationContext appContext = WorkflowUtil.getApplicationContext();
            WorkflowHelper workflowMapper = (WorkflowHelper) appContext.getBean("workflowHelper");
           
            try {
                WorkflowDeadline workflowDeadline = new WorkflowDeadline();
                workflowDeadline.setContext(context);
                workflowDeadline.setDeadlineExpression(expr);

                WorkflowDeadline newDeadline = workflowMapper.executeDeadlinePlugin(procId, actId, workflowDeadline, (Date) context.get(SharkConstants.PROCESS_STARTED_TIME), (Date) context.get(SharkConstants.ACTIVITY_ACCEPTED_TIME), (Date) context.get(SharkConstants.ACTIVITY_ACTIVATED_TIME));

                expr = newDeadline.getDeadlineExpression();
            } catch (Exception e) {
                //ignore
            }
        }
View Full Code Here

TOP

Related Classes of org.joget.workflow.model.WorkflowDeadline

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.