Problem when adding Operators in code

ImbafestorImbafestor Member Posts: 2 Contributor I
edited November 2018 in Help

i am writing an extension in which i implement a own super operator. Now i want to fill a subprocess with an operator in code, but the problem is, that the operator keeps getting added two times (Even the constructor of my superoperator is called several times when adding only one instance in rm).

Here is my code:

public MySuperOperator(OperatorDescription description)
super(description, "SubProcess 0", "SubProcess 1");

private void createSubProcess()
ExecutionUnit sub = getSubprocess(0);

try {
if(sub.getOperators().size() < 1) // doesn't prevent adding two operators :/
} catch (OperatorCreationException e) {
I found a topic with the same problem (,3549.0.html) but no answers. Is it a bug or am I missing something?

Best regards


Sign In or Register to comment.