Skip to content

Use Cases

raspberry-lef edited this page Dec 12, 2020 · 9 revisions

Typical Use Cases

Many workflows usually (but not always) fall into one or more of the three use cases below:

Group Business Logic for Periodic Execution

You want to do a piece of work on a regular basis.

Often you need to execute a piece of business logic periodically, for example to generate a monthly report with data drawn from multiple data sources. With ActiveWorkflow you can orchestrate scalable execution of multiple pieces of business logic, while getting error handling, agent-level retry functionality, and execution history.

Poll Resources

You don't care about periodicity, you care about results.

Polling is frequently checking the status of an external resource in a synchronous way. Examples of polling are checking a URL for a specific HTTP response code or calling an API to see if a specific resource has become available.

Orchestrate Business Logic Based on Events

You want to connect and organise complex flows of logic, data and messages.

Often as a creator and/or consumer of various services you are interested to be notified of events that occur, when they occur, and then execute certain business logic accordingly. For example, triggering an email campaign in reaction to events generated by user behaviour.

Clone this wiki locally