* @see org.ofbiz.workflow.WfActivity#complete()
*/
public void complete() throws WfException, CannotComplete {
// check to make sure all assignements are complete
if (howManyAssignment() > 0 && !checkAssignStatus(CHECK_COMPLETE))
throw new CannotComplete("All assignments have not been completed");
try {
container().receiveResults(this, result());
} catch (InvalidData e) {
throw new WfException("Invalid result data was passed", e);
}