Circuits

Introduction

Circuits is a Catalyst Serverless component that allows you to orchestrate tasks and automate workflows in Catalyst. A Catalyst circuit is essentially a JSON file that helps you systematically define and organize a sequence of tasks to be carried out automatically. You can enable concurrent or sequential executions of Catalyst functions in a circuit, and additionally include conditions, data, and paths in the workflow, to define a repeatable pattern of activities that achieves a business outcome.

Circuits can be used to combine individual components of the application logic, manage multiple tasks in parallel, pass processed data between functions, or execute business actions based on a set of conditions. You can manage the coordination between the circuit components, and handle their dependencies, in accordance with the logical flow in the application.

You can automate the execution of Basic I/O functions in your Catalyst application using a circuit. You can either visually design the schematics of a circuit by dragging and dropping its elements, or build its JSON code in the Catalyst console. The console also enables you to test the execution of the circuit with different test cases and access detailed logs of each execution.

Note:
  • Circuits is currently not available to Catalyst users accessing from the EU, AU, IN, or CA data centers.
  • You will not be able to execute Cron, Event, or Advanced I/O functions in a Catalyst circuit. This is because Catalyst supports the input and output of a circuit in the JSON format, that is supported by the Basic I/O functions alone.

To practice working with Catalyst Circuits, refer to this tutorial.

SDK and API Documentation

You can manually execute a circuit from the console, or trigger its execution using an API or through the Catalyst server SDKs. Refer to these SDK and API documentation for the code samples in Java, Node.js and Python environments, and the API details respectively.

Last Updated 2024-01-04 12:37:42 +0530 +0530