Skip to content

Allows BPMN designers to declaratively define what values, from an incoming JSON based message, will be used to correlate to a Process or a Process Instance (e.g. Execution)

License

Notifications You must be signed in to change notification settings

aravindhrs/camunda-message-streaming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Allows BPMN designers to declaratively define what values, from an incoming JSON based message, will be used to correlate to a Process or a Process Instance (e.g. Execution). Message values are evaluated at runtime using JSON Path expressions which are stored within the BPMN.

The following Message Events are supported:

Start events

Start Event Message

Intermediate Catch Events

Intermediate Catch Message

Interrupting & Non-interrupting Boundary Catch Events

Interupting Boundary Message

The following extension semantics are currently supported

Using the modeler you can assign extensions to the message catch Extension Sample

Note: {prefix} defaults to ultimate.workflow but can be configured via the application properties

{prefix}.business-process-key={json-path}

Assigns the business process key that will be used to start a new process or match on a currently running process

Note: This can also be declared as {prefix}.match-var.business-process-key={json-path} Java equivalent:

processEngine.getRuntimeService()
    .createMessageCorrelation("com.acme.messages.important-event")
    .processInstanceBusinessKey("key")
{prefix}.match-var.{variable-name}={json-path}

Creates a match requirement on a variable whose name is defined by {variable-name}

Java equivalent:

processEngine.getRuntimeService()
    .createMessageCorrelation("com.acme.messages.important-event")
    .processVariableValueEquals("key", "value")
{prefix}.input-var.{variable-name}={json-path}

Sets a variable, whose name is defined by {variable-name}

Java equivalent:

processEngine.getRuntimeService()
    .createMessageCorrelation("com.acme.messages.important-event")
    .setVariable("key", "value")

Links

About

Allows BPMN designers to declaratively define what values, from an incoming JSON based message, will be used to correlate to a Process or a Process Instance (e.g. Execution)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages