LegacyObjectBean instead of ObjectBean

Alexandra Kolesova January 29, 2024

Hi everyone!

I try implement a script for "then" in Insight Automation. I have object that was created or updated i try object.getClass() i get type LegacyObjectBean instead of ObjectBean an i can't use methods for update attribute value from this example

objectAttributeBeanFactory.createObjectAttributeBeanForObject(object, objectTypeAttributeBean, "The Value");

Method createObjectAttributeBeanForObject the first parameter assumes an ObjectBean, but i have LegacyObjectBean..

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events