As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
… if (resourceName.endsWith(BPMN_RESOURCE_SUFFIX)) { ResourceEntity resource = resources.get(resourceName); byte[] bytes = resource.getBytes(); ByteArrayInputStream inputStream = new ByteArrayInputStream(bytes); … } else { LOG.warn("You need to provide resource name that ends with " + BPMN_RESOURCE_SUFFIX + " Resource " + resourceName + " is not processed."); }
When a business archive is deployed, it is scanned for BPMN files with a .bpmn20.xml extension. Each of those will be parsed and potentially contains multiple process definitions.