Book a Demo

Author Topic: BPMN tagged values enumeration null  (Read 3469 times)

roos

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
BPMN tagged values enumeration null
« on: August 07, 2013, 05:10:21 pm »
I defined tagged values for BPMN 2.0 activities as an enumeration. When initially selecting a value from the drop down menu, there is an empty line shown (default is also empty). Once I selected something, it is not possible to return to an empty line anymore, even after defining the enumeration as "nillable=true".

How to fix this?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: BPMN tagged values enumeration null
« Reply #1 on: August 07, 2013, 08:07:51 pm »
It seems the only way is to delete and add the tagged value newly. A bit dull and probably worth a bug report.

q.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: BPMN tagged values enumeration null
« Reply #2 on: August 08, 2013, 08:31:20 am »
The problem is that you've specified an enumeration and not a default value. As a result there isn't a value initially, but that state is invalid to be in. It's allowed when you're initially setting it only because that's the state it's currently in.

I don't know where you're specifying nillable, but there's no reason why EA should be looking for any value along those lines.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: BPMN tagged values enumeration null
« Reply #3 on: August 08, 2013, 07:53:55 pm »
Simon,
I tried adding a nil-entry to the list, but was not successful. From my point of view each list should also be able to hold a nil-value. (Please don't argue that one could add a string "nil" to the list.) If you don't add a default, the drop-down clearly shows a nil entry. Once you assign a non-nil this is gone.

q.

roos

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: BPMN tagged values enumeration null
« Reply #4 on: August 09, 2013, 07:37:14 pm »
Hello Simon and qwerty,

thanks for your answers. However, I did define a default value (default empty by ""). EA is not looking for a value or something, if it is left empty there is no problem. It is just not possible to change it back to a nill-value, after it had a value (as apparently qwerty encounters as well).

So indeed deleting the tagged value, or object, and entering it again seems to be the only way to get it done, but as you can imagine not exactly what I was looking for  :(.