Desktop modeler start form#1198
Conversation
There was a problem hiding this comment.
Pull request overview
Enables the Zeebe “Form” properties group for process-level start events (excluding start events inside subprocesses), aligning Desktop Modeler behavior with other providers in the repository and addressing #1196.
Changes:
- Add
isFormSupportedutility to allow forms forbpmn:UserTaskand top-levelbpmn:StartEvent. - Update Zeebe
FormPropsto useisFormSupportedinstead of restricting to user tasks only. - Extend the Zeebe Forms test fixture BPMN and add start-event-related specs.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
test/spec/provider/zeebe/Forms.spec.js |
Adds start event form tests, but currently contains a duplicated full “user tasks” test suite. |
test/spec/provider/zeebe/Forms.bpmn |
Extends the BPMN fixture with additional zeebe:userTaskForm entries and start events for testing. |
src/provider/zeebe/utils/FormUtil.js |
Introduces isFormSupported (user tasks + process-level start events). |
src/provider/zeebe/properties/FormProps.js |
Uses isFormSupported to determine whether to show form entries. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| }); | ||
|
|
||
| describe('user tasks', function () { | ||
| describe('form type', function () { | ||
| it('should display - embedded form', inject(async function (elementRegistry, selection) { |
There was a problem hiding this comment.
The entire describe('user tasks' ...) test suite appears duplicated: one block ends around line 832 and another starts again at line 834. This adds a lot of redundant test execution and makes the spec harder to maintain; please remove the duplicate block (keep a single copy).
|
Hi,
Since there is a Camunda dependency, we will need to postpone this PR. However, the feature request is tracked, so we should get back to it soon. |
|
Related comment: camunda/camunda-modeler#4672 (comment) |
|
@barmac Thanks for your reply. Hmm, never noticed this, but not only Tasklist but the entire API endpoint behind it does not take form versions into account, but always retrieves the latest form instead. Found this issue in the Camunda backlog which I think describes the required feature. Linking it here for reference: camunda/camunda#20067 |
Proposed Changes
Closes #1196 by enabling the "Form" group property in case the element is either a user task, or a start event (but not if the start event is part of a sub process)
This is in line with the cloud/platform providers in this repository.
Screenshot in desktop modeler:

Screenshot from this repo's

npm run start:To try out:
npm run startChecklist
Ensure you provide everything we need to review your contribution:
Closes {LINK_TO_ISSUE}orRelated to {LINK_TO_ISSUE}@bpmn-io/srtool