cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

API predicate not found on sequence flow object

veldew
Super Contributor

Hello,

 

I have a question regarding mega API.

 

When i use       oObject.GetProp("predicate").ToString         in my vb.net application, i get always empty string ("")

 

when running the same code on the same object in the script editor, it returns the text filled in on the predicate attribute.

      obj = oroot.getobjectfromid("C9BDE58D55DA41C0")
       Print(obj.getprop("predicate"))    ->  OK

 

I tested the object on _hexaidabs to make sure i have the right object, ok

 

Any idea what might be wrong ?

 

kind regards,

Wim VdV

1 Reply

veldew
Super Contributor

I managed to find the problem.

 

When starting from a keyword, getting the connected sequence flows, not all attributes are available (as "predicate")

It seems the object is in kind of limited or protected context.

 

workaround :

 

loop for all sequence flows from the keyword
create a new object with getobjectfromid (id from the loop object)

on the new object all attributes are available.

 

 

happy programming !

 

kr,
Wim VdV