07-27-2011 05:15 AM
final boolean validDiagram = invokeValidator(IntellixProcessValidator.VALIDATOR_ID, diagram, monitor);
if (!validDiagram) {
addProblemToDiagram(diagram, "Marshalling to " + getFormatName()
+ " format was skipped because validation of the diagram failed.", null);
} else {
InputStream stream = getInputStreamForDiagram(diagram);
saveResource(getRelativeURIForDiagram(diagram, FILENAME_PATTERN), stream, monitor);
}
public boolean validateDiagram(Diagram diagram, IProgressMonitor monitor) {
boolean valid = false;
clearMarkers(getResource(diagram.eResource().getURI()));
monitor.beginTask("Activiti Intellix Validation", 1);
// Check correctness of the diagram
return valid;
}
08-13-2011 06:53 AM
08-13-2011 07:03 AM
Are you using a custom service task or a user task?
08-13-2011 08:07 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.