Hello,
I am trying to get hold of the GUID of an object representing an assignment in ARIS.
In script help, this function is referenced: ObjDef.CxnList(int), with the below explanation of the parameter to pass:
"
|
Type and direction of the relationships to be returned: |
"
However, when using the EDGES_ASSIGN constant, the function only returns outgoing relationships. I also can not get any of the other options to return any assignment connections.
Can anyone assist with a way to access the GUID of connections representing assignments?
Thanks.
Ellen Gambrell Pelletier on
ObjDef.CxnList(Constants.EDGES_ASSIGN) will return inherent relationships between the parent object (the object that has the model assigned to it) and its child objects (the objects in the assigned model).
I do not believe there is a way to actually pull the assignment relationship itself to get the GUID. You can get an assigned model with ConnectableDef.AssignedModels(), but that returns an array of the assigned models, not the relationship between the object definition and its assigned model.