Activities are the individual units of work in a process.
Activities generally interact with an external system and perform a task. Activities that perform similar tasks are grouped in an entity called a palette. TIBCO Business Studio™ provides various technology-specific palettes that allows you to build a business process.
Each activity in a palette is represented by an icon. Often an activity icon is also decorated with an additional symbol such as a green or a yellow pause sign to indicate the activity waits for an event, an arrow to indicate the direction of the data flow, and so on. For example, the arrow sign in the HTTP Request and HTTP Response icon indicates data is being sent by this activity.
Activities can be classified into three types:
- Regular Activities perform a specific task. Regular activities can have input and output in addition to their configuration. Activities can also state the faults they can throw at runtime. This allows the process to be designed to handle these faults and perform the necessary actions. Regular activities can be further classified into synchronous and asynchronous activities.
Synchronous activities are blocking. They block the execution of the process until the activity task completes.
Asynchronous activities are non-blocking. They perform a task asynchronously without blocking the execution of a process.
- Process Starter Activities are configured to react to events. They trigger the execution of a process when the event occurs. Process starter activities can have only outputs in addition to their configuration. For example, the HTTP Receiver process starter activity starts a process when an HTTP request is received.