Book a Demo

Author Topic: Way to access t_Objectproperties table with out us  (Read 6556 times)

Arshad

  • EA User
  • **
  • Posts: 292
  • Karma: +21/-1
    • View Profile
Way to access t_Objectproperties table with out us
« on: October 12, 2015, 11:00:29 pm »
Hi i have added a Startevent from BPMN2.0 in a BPMN2.0 diagram and i have chosen its type as MESSAGE.Now i need to get this value without using query.
I found that this value was present in t_objectproperties table under the column Value.
Is there any way to acheive through API..?? :-? :o :-/

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Way to access t_Objectproperties table with ou
« Reply #1 on: October 13, 2015, 12:21:40 am »
Hi Arshad,


The t_objectproperties table corresponds to tagged values in the GUI. In this case, the tagged value's name is eventDefinition.

Please note that BPMN elements have specialized properties dialogs. This particular tagged value is not shown there (presumably because it is considered fundamental to the element type, so you shouldn't be able to modify it), but if you open the tagged values window (from the View menu), you'll see it there.

Tagged values can be managed in the API by traversing the Element.TaggedValues collection.

TaggedValue.Name holds the tagged value's name.
For simple short tagged values like this one, the value is in TaggedValue.Value. Longer values are stored in TaggedValue.Notes.

HTH,


/Uffe
My theories are always correct, just apply them to the right reality.