Skip to content

[CPT] Assert that a process instance is waiting for a message #23256

@saig0

Description

@saig0

Description

I want to assert that a process instance is waiting for a message (i.e. has an open message subscription).

The assertion is an equivalent for the assertions in:

Tasks

  • Add a new assertion for process instances to verify that the instance has an open message subscription
  • Define the message subscription by:
    • a given message name
    • (optional) a given message correlation key

For example:

assertThat(processInstance).isWaitingForMessage("message");
assertThat(processInstance).isWaitingForMessage("message", "correlation_key");

Requires #28194
Requires #34445

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions