Receive Tasks
In BPMN (Business Process Model and Notation), a "receive task" is a type of task used to model a specific type of activity in a business process that represents the receipt or reception of a message, notification, or request from an external participant or system. Receive tasks are typically used to depict a point in the process where the process is waiting for an external event, message, or response.
Key characteristics of a receive task:
Message Reception: Receive tasks represent activities where the process is waiting to receive a message, notification, or request from an external participant or system.
Asynchronous: Receive tasks are typically asynchronous, meaning that the process waits for an external event or message to arrive and continue its flow after receiving it.
Message Content: They may involve specifying the expected content or format of the incoming message and how the process should handle it.
Response Handling: Receive tasks are often followed by subsequent activities that process the received message or response.
Integration: Receive tasks are used to model the integration of the business process with external participants, systems, or services through message-based communication.
Attributes:
The following are the attributes associated with the "Receive" tasks:
Attribute | Description |
---|---|
ID: | The "Id" attribute represents the unique identifier of the receive task. It corresponds to the task definition key in the BPMN model. |
Name: | The "Name" attribute defines the name or label of the receive task. |
Details:
The "Details" section for the Receive Task includes the following Message attributes:
Attribute | Description |
---|---|
Message: [Message_0vat9jk (id=Message_1ubmceq)] | The "Message" attribute indicates the specific message that is associated with this Receive Task. In this case, it references a message with the identifier "Message_0vat9jk" and the unique ID "Message_1ubmceq." The message defines the content and structure of the data that will be received by the Receive Task. |
Message Name: [Message_0vat9jk] | The "Message Name" attribute specifies the name or identifier of the message that is expected by the Receive Task. In this case, it is identified as "Message_0vat9jk." The message name is used to correlate the received message with the corresponding message definition in the BPMN process. |
Asynchronous Continuations:
Asynchronous continuations are used to specify whether a task is executed asynchronously, they include:
Attribute | Description |
---|---|
Asynchronous Before: | The "Asynchronous Before" attribute indicates if the task can be started asynchronously before other tasks or events in the process. |
Asynchronous After: | Similarly, the "Asynchronous After" attribute denotes whether the receive task can be completed asynchronously after other tasks or events in the process. |