Book a Demo

Author Topic: v16 - How to hide the ConditionExpression label?  (Read 4183 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
v16 - How to hide the ConditionExpression label?
« on: October 24, 2022, 12:40:51 pm »

Our BPMN scenario simulations vary the initial conditions appropriate to each scenario.  The scenario executes by evaluating the ConditionExpression (guard) at each gateway.
When we add a ConditionExpression to the outgoing Sequence Flow, the value appears as a label on the diagram.  We also (usually) provide a more user-friendly version of the guard in the name of the Sequence Flow, which is also visible on the diagram.  We can suppress the user-friendly label using the Visibility > Set Label Visibility... dialog.  However, no amount of tinkering with the labels mentioned in the dialog will hide the ConditionExpression.  However, using Visibility > Hide All Labels WILL hide the ConditionExpression label.

So how can we selectively do it?  If it's not possible, why not?  We don't want to lose the other labels to suppress the ConditionExpression.

Reported,
Paolo
« Last Edit: October 24, 2022, 04:26:25 pm by Paolo F Cantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
No. The shape script for that relationship forces it to be visible.

I don't know why that was done.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: v16 - How to hide the ConditionExpression label?
« Reply #2 on: October 24, 2022, 02:20:26 pm »
No. The shape script for that relationship forces it to be visible.

I don't know why that was done.
As we surmised from the behaviour.  Can you say which label is involved (or is it a completely separate label)?

Paolo
« Last Edit: October 24, 2022, 04:26:14 pm by Paolo F Cantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
It's in Middle Bottom Label, but you can't do anything useful with that information because the shape script is explicitly turning the label on every time the connector is drawn.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
v16 - How to hide the ConditionExpression label?
« Reply #4 on: October 24, 2022, 04:23:26 pm »
It's in the Middle Bottom Label, but you can't do anything useful with that information because the shape script is explicitly turning the label on every time the connector is drawn.
Thanks!  I thought as much because the value of the ConditionExpression is NOT visible against the Middle Bottom Label in the dialog!

Paolo
« Last Edit: October 24, 2022, 04:25:52 pm by Paolo F Cantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!