Regulating the unit of work size using event properties
The Render as Message setting on the event table directly influences the unit of work size. The setting is specified during FSM design but also can be modified either directly in the table or on the database scripts.
Setting this property to no means that the event will be processed immediately (inflow). All of the information related to the event is still in memory and, therefore, the event is processed faster. However, processing the event immediately means that the unit of work size gets larger. Also, as more events are processed inflow, they consume large amounts of memory as all information related to them is kept in memory.
If Render as Message is set to yes, the event will be sent to the events queue. Memory is cleared up immediately and unit of work size is kept smaller. However, additional overhead is introduced by putting the message onto MQ and reloading it at a later stage.