The source of the output is not editable when using element template
See original GitHub issueDescribe the bug
When trying to create a service task template with outputs, the output doesn’t appear correctly. The target is editable instead of the source.
The element template:
{
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
"name": "Example",
"id": "Example",
"description": "The output is not correct",
"appliesTo": [
"bpmn:ServiceTask"
],
"groups": [
{
"id": "inputs",
"label": "Inputs"
},
{
"id": "outputs",
"label": "Outputs"
}
],
"properties": [
{
"value": "example-v1",
"binding": {
"type": "zeebe:taskDefinition:type"
},
"editable": false
},
{
"description": "Output value",
"group": "outputs",
"label": "myTarget",
"value": "myTarget",
"type": "String",
"binding": {
"type": "zeebe:output",
"source": "=\"mySource\""
},
"constraints": {
"notEmpty": true
}
}
]
}
When the element template is linked:
In the XML: <zeebe:output source="="mySource"" target="myTarget" />
When the element template is unlinked:
In the XML: <zeebe:output source="="mySource"" target="myTarget" />
Steps to reproduce
- Create a task using the element template
- Check that the source is not editable
- Unlink the element template using the camunda modeler
- Check that without the element template, the source is editable
Expected behavior
The output source is editable when the element template is linked
Environment
Environent:
- OS: Ubuntu 20.04.3 LTS
- Camunda Modeler Version: 5.5.0
- Execution Platform: Camunda 8 Platform Self Managed
- Installed plug-ins: None
Additional context
Summarized here.
Issue Analytics
- State:
- Created 10 months ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
The Content Template element - HTML - MDN Web Docs
The HTML element is a mechanism for holding HTML that is not to be rendered immediately when a page is loaded but may...
Read more >Modify X-editable templates on a per element basis (not ...
With the features currently offered by the X-editable library, I'm not seeing a way to do what you want to do just by...
Read more >Noneditable plugin | Docs - TinyMCE
Select the desired editor content. From the menu bar, select View > Source code .
Read more >Element Template - Bentley - Product Documentation
An element template is a named set of element properties that can be applied to existing elements or can be used to set...
Read more >Tips and tricks in Rational Publishing Engine - IBM
The data applied to the elements is also copied. If the data comes from a source that does not exist in the template...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you for your advice @nikku This solution is good to me, it solves our problem! I’m closing the issue.
Moving to backlog.
The essential requested feature is to be able to not only assign an output variable, but rather incorporate the output into the process context (add to a list) using an expression.