Jarek Danielak
Jarek Danielak
It's a bit of a rabbit hole. 🐰 ### What happens? 1. Replacing a Timer event with non-interrupting and vice-versa triggers [CopyPasteBehavior#canHostTimerExpression](https://github.com/camunda/camunda-bpmn-js-behaviors/blob/cc5d7422900150f409cc46250af92e1cc26bed8d/lib/camunda-cloud/CopyPasteBehavior.js#L70) from `camunda-bpmn-js-behaviors`. 2. It uses `isTimerExpressionTypeSupported` utility to...
I created a new issue for event not changing from non-interrupting to interrupting at all, cause it seems to be unrelated to the Duration property loss: https://github.com/bpmn-io/bpmn-js/issues/2344
I added test cases to catch this bug in `camunda-bpmn-js-behaviors`: https://github.com/camunda/camunda-bpmn-js-behaviors/commit/1d820ee863860d9798625500448cb12af8c97acd
More root causing: `BpmnReplace` calls `ModdleCopy#copyElement` with `newBusinessObject` which has no parent. `ModdleCopy#copyElement` tries to copy properties, calls `moddleCopy.canCopyProperty` event, which is picked up by `CopyPasteBehavior`. `CopyPasteBehavior` checks if each...
Possible solution: We have another behavior `CleanUpTimerExpressionBehavior` which is called on `postExecuted` of `shape.replace`, which handles clearing unsupported properties. We could make `CopyPasteBehavior` less strict for TimerEvent (not check for...
@yT0n1 allowed `zeebe` properties and their bindings are indeed "whitelisted" (explicitly described) in the JSON schema, in [properties.json](https://github.com/camunda/element-templates-json-schema/blob/979b52c2aafe642e515f2cf85113e0020e731940/packages/zeebe-element-templates-json-schema/src/defs/properties.json). If you're not comfortable reading the schema (few of us are), have...
@yT0n1 we update the docs manually.
Questions: > A functionality to map to the zeebe:userTask, zeebe:formDefinition, zeebe:assignmentDefinition and zeebe:taskSchedule in the same way we can currently control zeebe:taskDefinition. Do we only want to implement those properties...
I drafted a PR adding `zeebe:userTask` binding section to Camunda Docs: https://github.com/camunda/camunda-docs/pull/5781
`zeebe:userTask` bindign was added to Camunda Modeler with https://github.com/camunda/camunda-modeler/pull/5040