Open philippfromme opened 13 hours ago
Our form definition behavior creates a new form definition and user task form when a user task is created that has an existing form definition. The idea was that you don't end up referencing the same user task form when copying and pasting a user task. Copying and pasting a user task with a form definition will remove the form definition and its form ID. We need to change the behavior so that a new user task form is only created if the existing form definition references a user task form that is already referenced by another form definition.
Describe the bug
When copying a user task with a linked Camunda form the result is unexpected.
The XML before:
The XML after:
For some reason the pasted user task has a form key instead of a form ID indicating that the copy-paste behavior is broken.
Steps to reproduce
Expected behavior
Pasted user task has same form ID.
Environment
Additional context
Slack: https://camunda.slack.com/archives/C0693F1NFK5/p1730297588684999