I’m currently using Camunda BPMN Model Java API to process a BPMN XML and copy it the BPMN elements into another XML. In my source XML, I have elements with “StandardLoopCharacteristics” element type as children. (See below for snippet). I want to be able to read/identify this StandardLoopCharacteristics element and create the same in the target XML. How can I do this?
Thanks @aravindhrs! I’m aware of this approach and in fact I’m following the same method for MultiInstanceLoopCharacteristics. But for some reason, I don’t seem to find the StandardLoopCharacteristics class in the Java package that I’m using. This is the Java docs that I’m referring to - org.camunda.bpm.model.bpmn.instance (Camunda Platform Javadocs 7.22.4-ee)
Do you know which package contains this class StandardLoopCharacteristics?
@aravindhrs - Thanks for the detailed explanation. I appreciate it! In my project, I’m using Camunda BPMN Model API version 7.22.0. Is there a way I can accomplish this in the version that I’m currently using instead of downgrading it to version 7.20 or below?
@aravindhrs - As mentioned before, I have tried this but I’m unable to import the class at all. Additionally, I wanted to mention that the way I’m importing this package in my Java project is by including the following two jars directly into my project -
I’m not sure if I’m missing any jar files? Or if this might be the reason that it’s somehow incorrectly configured? It’s super confusing why I would be able to import MultiInstanceLoopCharacteristics but not StandardLoopCharacteristics.
@aravindhrs - That’s what I’m seeing as well, that it does not exist. Given this is the situation, how do I handle this? Is there a workaround? Which version of the API actually has this class anyway?
@aravindhrs - Thanks for clarifying! So it looks like there’s no way to actually identify or create a StandardLoopCharacteristics element in the BPMN xml using the Camunda BPMN Model API.