MK
Hello ARIS experts,
Can you help me, do you have any solution or example to this situation?
I have position object (with user attribute Status) when I connect this object to function in EPC I want to write some value in this user defined attribute. Is it possible and how (macroe,script...)?
Do you have some examples?
Best regards,
Mijo
var sGUID="abc..."
var iattrTypeNum = Context.getArisMethod().UserDefinedAttributeTypeGUID(sGUID)
var oAttrDefObject = Designer.getDefinition (Context.getSelectedObjOccs ()[0]) (for example)
var oLanguage = Context.getLoginInfo().getLoginLanguage()
Designer.setAttributePersistent ( oAttrDefObject , iattrTypeNum, "SomeValue", oLanguage )