Insight/Groovy - Yet another example (referenced attributes)

Oliver Schalch November 6, 2020

Hi, after trying alot examples I havent success to update a referenced attribute (event its empty) in my object type.

Lets say i have Object Type: 50 with an Attribute "reference" pointing to Object Type 20. Now I want to do some checks (in OT 50) to see if attribute "name1" and "name2" is same (also reference) then set attribute "reference" to name1 or name2.  The Comparing part I would manage. But somehome I'm not able to set the Attribute "reference" in my OT 50 to the reference to OT 20.

Simple: 

OT 50
Attr: Name1 -> OT 20 // example contain "Muller" (reference)

Attr: Name2 -> OT 20 // example contain "Muller" (reference)

Attr: reference -> OT 20 // set to Muller (reference) if Name1 and Name2 is same.


Id like some more examples with references. Someone played and have some more examples?

 

Thanks

Oli

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events