sartography / bpmn-js-spiffworkflow

A BPMN.js extension to improve working with SpiffWorkflow - the python BPMN engine.
MIT License
19 stars 5 forks source link

Receive Message - Correlations from task data #76

Open danfunk opened 3 months ago

danfunk commented 3 months ago

It should be possible to set the correlation properties on a process instance from a Message Reieve Event/Task.

Currently we specify the correlation properties only when sending a message out of a process. From that point forward the process is tied to those correlation properties. This means you must either have sent a message to fix the correlation properties, or be willing to receive any a message with any correlation properties (Which you wound then adopt).

In the future, the BPMN.io Editor should allow you to optionally specify the correlation property values you wish to listen for. -

IMPORTANT: This ticket is for the BPMN.io work to make it possible to set these values in an intuitive way. Once the UI work is complete, create a ticket for the SpiffWorkflow Library that describes the new extension properties that will collect this information in the BPMN XML/

madhurrya commented 2 days ago

We can set correlation properties in the Receive tasks. image

theaubmov commented 21 hours ago

Yes, also in the receiving part, correlation properties should be included with the message in the XML.

Currently, we do not support the capability where user can select specific correlation properties in the receive task. All correlation properties of a message are used either for sending or receiving.

The new concept of Matching Condition replaces the flexibility of choosing specific correlation properties.

burnettk commented 19 hours ago

do we close this given that we have implemented matching conditions?