Hi,
is it possible to receive multiple messages on one Receive Message Event?
I need to use Receive Message Event to stop the process flow until all the fields of multiple entities are populated, so I have a Send Message Event on each asynch subprocess that sends a message to my main one that the fields have been populated. There is also an Expression Condition on Receive Message Event that checks if all entities have populated values. If it's possible to receive multiple messages, does the condition get validated each time it receives a message?
Thanks!
Discussion posts and replies are publicly visible
I'd issue a warning here that this is not a scalable option and there may well be a better pattern. For instance, instead of sending/receiving messages your process instance could run on a repeating timer and retrieve the data from the entities you mention and run validation on the data retrieved to determine if your data in complete and valid.
Alternatively, every time an entity is updated you could call a sub-process that also runs the data retrieval/validation to achieve the same outcome.