in src/main/java/com/epam/digital/data/platform/registry/regulation/validation/cli/validator/bpmn/BpmnFileInputsValidator.java [296:310]
static Set<String> getOutValueFromActivity(Activity activity, Property property) {
var propertyName = property.getBinding().getSource();
var extensionElements = activity.getExtensionElements();
if (Objects.isNull(extensionElements)) {
return Set.of();
}
return extensionElements.getElementsQuery()
.filterByType(CamundaOut.class)
.list()
.stream()
.filter(in -> in.getAttributeValue("source").equals(propertyName))
.map(in -> in.getAttributeValue("target"))
.filter(Objects::nonNull)
.collect(Collectors.toSet());
}