ExecutionOccurrence

Hello,
I try to use: IInteractionLifeLine.activationIterator() and IInteractionLifeLine.executionOccurrenceIterator(), but the code does not work correctly.
How can I create ExecutionOccurrence/Activation in VP Agilian and obtain it with the Open API?

Regards,
Anita

Dear Anita,

Please use activationIterator() and ignore the executionOccurrenceIterator(). To create activation. call IModelElementFactory.instance().createActivation() : IActivation. After the activation is created, add it to its owner (LifeLine or another Activation) (e.g. IInteractionLifeline.addActivation(activation))

Best regards,
Jick