Skip to content

FOUR-26839 Improve Message Catch and Throw Events Elements to configure the Message Payload#232

Merged
caleeli merged 20 commits intofeature/FOUR-26791from
FOUR-26839
Oct 2, 2025
Merged

FOUR-26839 Improve Message Catch and Throw Events Elements to configure the Message Payload#232
caleeli merged 20 commits intofeature/FOUR-26791from
FOUR-26839

Conversation

@caleeli
Copy link
Contributor

@caleeli caleeli commented Sep 30, 2025

Improve Message Catch and Throw Events Elements to configure the Message Payload

Send data from sub-process using Intermediate Message Event C to parent process on Boundary Event at Call-Activity A.

image

Related ticket


Note

Adds message payload mapping from throw events using data input associations (with transformations/assignments), introduces dot-notation get/set on data store, updates BPMN parsing/mappings, and adds tests.

  • Engine/BPMN:
    • Message Payload Mapping: Implement Assignment and DataInputAssociation with support for transformation and assignments, and wire into MessageEventDefinition::execute to build payload from throw event inputs and write to target instance via DataStore.
    • Events: Initialize and expose dataInput, dataInputAssociation, and eventDefinitions via properties in IntermediateThrowEvent and EndEvent (fixes recursive accessor and initializes collections).
    • Data Store: Add getDotData and setDotData in DataStoreTrait for nested access; declare in DataStoreInterface.
  • Contracts:
    • Add constants to AssignmentInterface; update DataAssociationInterface signatures (getSource, getAssignments) and return types.
    • Extend DataInputAssociationInterface with property constants; extend EventInterface with dataInput, inputSet, dataInputAssociation properties; add FormalExpressionInterface::__invoke.
  • Storage/Parsing:
    • Extend BpmnDocument mappings to parse dataInputAssociation, targetRef, sourceRef, transformation, and nested assignment for intermediateThrowEvent.
    • Add repository factories for DataInputAssociation and Assignment.
  • Tests:
    • New BPMN/JSON fixture tests/Feature/Patterns/files/MessageEventToParent.* validating message data propagation to parent.
    • Unit tests for DataStore dot-notation get/set.
  • CI:
    • Workflow: replace coverage listing with ./check_coverage.php in SonarQube job.

Written by Cursor Bugbot for commit 282cab0. This will update automatically on new commits. Configure here.

@caleeli caleeli requested a review from rodriquelca September 30, 2025 22:01
cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

@caleeli caleeli changed the base branch from develop to feature/FOUR-26791 October 2, 2025 13:10
@processmaker-sonarqube
Copy link

@caleeli caleeli merged commit f021157 into feature/FOUR-26791 Oct 2, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants