bpmn-io / bpmn-js-element-templates

The element template extension for bpmn-js
MIT License
5 stars 3 forks source link

Allow to paste example data to templated elements #104

Closed barmac closed 5 months ago

barmac commented 5 months ago

Is your feature request related to a problem? Please describe.

Check https://github.com/camunda/connectors/issues/1401

Describe the solution you'd like

Section is visible.

Describe alternatives you've considered

Leave it to the templates developers whether they want to accept example data in the templates.

Additional context

See additional thoughts on this: https://github.com/camunda/connectors/issues/1401#issuecomment-2137621805

marstamm commented 5 months ago

The example data is currently stored in a camundaModeler:exampleOutputJson, which is a zeebe:property. We would need to adjust our upgrade logic to explicitly exclude it from being removed when applying or upgrading templates.

marstamm commented 5 months ago

As discussed in https://github.com/camunda/connectors/issues/1401#issuecomment-2147118609 and in the weekly, adding example data for connectors needs additional effort to support Connector runtime scope in our variable tooling

nikku commented 5 months ago

@marstamm Would you still agree this is a valid feature request? If so, let's move it into the respective place, otherwise let's close it.

marstamm commented 5 months ago

As per https://github.com/camunda/connectors/issues/1401#issuecomment-2147118609 , I do not think this is a valid feature request. We can consider opening an issue to support "connector scope" in the variable resolver