Previous  Next          Contents  Index  Glossary

Event Activity

An event activity represents a business event from the Business Event System within a workflow process. Include event activities in workflow processes to model complex processing or routing logic for business events beyond the standard event subscription options of running a function or sending the event to a predefined agent. See: Managing Business Events.

An event activity can either receive, raise, or send a business event. A Receive event activity can be marked as a Start activity for a process, meaning it is always enabled to receive events. Alternatively, a Receive event activity can be placed within the process, so that it is only enabled to receive events after the process transitions to that activity. When the activity receives an event, the Workflow Engine stores the event name, event key, and event message in item type attributes, as specified in the node's event details, and then continues the thread of execution from the event activity. If that activity has already received an event, then the On Revisit flag for the activity determines whether the Workflow Engine reexecutes the activity. See: To Define Optional Activity Details.

A Raise event activity retrieves the event name, event key, and event data, as specified in the node's event details, and raises the event to the Business Event System. The event details can be dynamically determined at runtime using item type attributes. You can also specify the event name as a predefined constant for the event activity node.

A Send event activity retrieves the event name, event key, event message, outbound agent, and inbound agent, as specified in the node's event details, and sends the event directly from the outbound agent to the inbound agent without raising the event to the Business Event System. The event details can be dynamically determined at runtime using item type attributes. You can also specify the event name, outbound agent, and inbound agent as predefined constants for the event activity node. See: To Create an Event Activity and To Define Event Details for an Event Node.


         Previous  Next          Contents  Index  Glossary