Send Message

Learn to send message to restart the process execution

Last published at: January 5th, 2025

A message can be sent to a waiting process instance. The Process that uses the “Wait for message” steps waits for an incoming message to continue processing. Here’s an example of a workflow where the process instance waits for the message two times. 

 

Select the process from the list on the Process Instances page and click on the Utils—Send Message menu option.   

 

The Send Wait Message popup is displayed for configuration. Select the instance level (All, Current, TopMost, Children, Parents, Siblings) option from the drop-down list. Select the Wait message from the drop-down list. Click on the Send button to proceed. 

 

The first Wait For Message step receives and processes the message. The process instance proceeds only if the message received matches the configured text; otherwise, the wait continues. 

 

Select the process from the list on the Process Instances page and click on the Utils - Send Message menu option.  The Send Wait Message popup is displayed for configuration. Select the instance level (All, Current, TopMost, Children, Parents, Siblings) option from the drop-down list. Select the Wait message from the drop-down list. Click on the Send button to proceed. 

 

The second Wait For Message step receives and processes the message. The process instance proceeds only if the message received matches the configured text; otherwise, the wait continues. 

 

In this context, the process instance is completed, as shown below.