camunda / camunda-modeler

An integrated modeling solution for BPMN, DMN and Forms based on bpmn.io.
https://camunda.com/products/modeler
MIT License
1.51k stars 484 forks source link

"Example output" is available for text annotation #4721

Open barmac opened 4 days ago

barmac commented 4 days ago

Describe the bug

I can set example output on an element which cannot have output at all, e.g. a text annotation:

image

Steps to reproduce

  1. Select text annotation
  2. now this happens

Expected behavior

Example output can be added only to elements which can have output.

Environment

Additional context

No response

nikku commented 4 days ago

This is a feature, consider this:

image

In summary: You can define it everywhere (where you see it fit, semantically). We'll pick it up as meta-data for suggestion and validation.

barmac commented 4 days ago

OK but for text annotation it does not have sense, does it?

nikku commented 22 hours ago

You can argue that it is not needed there, but the merits are low of removing it, I think. :)