Sequence of steps for message subscriber worksteps
BP Server performs the following operations for the message subscriber workstep:
1. Mark the subscriber workstep instance with WAIT state if the required message was not received at the activation time of the workstep.
2. Wait until the required message is received and stored in the database.
3. When the message is received, mark the workstep instance with ACTIVATED state.
4. From the message, extract the data from the payload using the XPath and copy it to the mapped dataslot specified in the message-dataslot mappings. Also extract the data from the message header and copy it to the corresponding mapped dataslot.
5. Invoke the message handler with the received message.
6. Complete the workstep instance and activate the next workstep instance of the process flow.
BP Server automatically discards a message in any of the following conditions:
When there are no active message subscriber worksteps subscribing to such a message.
When there are no active process instances that can activate a subscriber workstep in future.