Help ELMA BPM Platform
×
Menu

Receive Message


The Receive Message activity receives context variables that are sent from another process instance. The variables are sent by the Send Message activity. It must be included in the graphic model of the process that sends the message. This combination of activities makes it possible to send context variables between processes without creating sub-processes. It is especially useful if the two processes must be performed independently, but at some point, the system requires information from one of the processes to continue the execution of the other.

Receive Message activity settings

Common tab
Fig. 1. Receive Message activity settings. Common tab.
Receive Message tab
Receive Message tab.
Message Type
Open the drop-down list and select a message type. If there are no suitable types, you can create a new one. To do so, click . The Receive Message activity and the Send Message activity of the other process must have the same message type.
In the Message Parameters section, match each parameter to a context variable of the process.
Attention!
Make sure that these context variables have the same type as in the Send Message and Receive Message activities.
In the Reference Parameter field, specify the context variable which will be matched to the reference parameter of the message. If the message type has a reference parameter, but you do not specify it in this field, the server will have to load all the variables of the message, increasing the load on the server. If the reference parameter is specified, the load on the server decreases.
In the Condition for message processing field you can specify one or several conditions under which the message will be processed and the process flow will continue. If at least one of the conditions is not met, the message will not be received. At the moment, the only way to specify the conditions is to use a script. You can select the script from the drop-down list or add it by clicking . The script must return a boolean value (C# bool value type, "true" or "false").
In the Script for processing message data field, specify the script for message processing. You can select the script from the drop-down list or add it by clicking .
Copyright © 2006–2019 ELMA