opener = openers.get(0);
}
String formUrl = formURLGenerator.generateFormProcessURL(getBaseUri(), processId, deploymentId, opener);
if (!StringUtils.isEmpty(formUrl)) {
JaxbProcessInstanceFormResponse response = new JaxbProcessInstanceFormResponse(formUrl, getRequestUri());
return createCorrectVariant(response, headers);
}
}
throw KieRemoteRestOperationException.notFound("Process " + processId + " is not available.");
}