private void runInThread(final Workflow workflow,
final List<WSComponentPort> inputs, final boolean redeploy) {
WorkflowClient client = this.engine.getWorkflowClient();
try {
client.deploy(workflow, redeploy);
} catch (WorkflowEngineException e) {
if (this.canceled) {
logger.caught(e);
} else {
this.engine.getErrorWindow().error(ErrorMessages.GPEL_ERROR, e);