Examples of lookupActivity()


Examples of de.danet.an.workflow.api.ProcessDirectory.lookupActivity()

            try {
                SimpleApplicationInfo info = applicationDirectory()
                    .instanceInfo(chosenInstanceId.longValue());
                ProcessDirectory pd
                    = wsc.getWorkflowService().processDirectory();
                Activity activity = pd.lookupActivity(info.activityUniqueKey());
                chosenInstance = new AssignmentData (null, info, activity);
            } catch (InvalidKeyException e) {
                // Must have been removed by concurrent action
                chosenInstanceId = null;
            }
View Full Code Here

Examples of de.danet.an.workflow.api.ProcessDirectory.lookupActivity()

                fc.getApplication().getVariableResolver()
                .resolveVariable(fc, "workflowServiceConnection");
            try {
                ProcessDirectory pd
                    = wsc.getWorkflowService().processDirectory();
                Activity act = pd.lookupActivity(activityInfo.uniqueKey());
                act.setResult(instanceData.resultData());
                act.complete();
                assignSvc.applicationDirectory().removeInstance(applInfo.id());
            } catch (EvaluationException e) {
                logger.error (e.getMessage(), e);
View Full Code Here

Examples of de.danet.an.workflow.api.ProcessDirectory.lookupActivity()

        ActivityUniqueKey uniqueKey = new ActivityUniqueKey(packageId + "/"
                + processId, processKey, activityKey);
       
        ProcessDirectory pd = getWorkflowService().processDirectory();
       
        return pd.lookupActivity(uniqueKey);
    }
}
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.