# Circuit Workflows in DEX Last Updated On: 11 Nov 2026 9 minutes read A Circuit automates a cloud task as a series of connected steps. A Circuit can check a condition, run custom code, wait, call another Circuit, and continue to the next action. You build it by dragging steps onto a canvas, where the complete flow is visible at a glance. Circuits run in the cloud. They do not require the DEX agent and do not run on managed devices. Use them for tasks that are not tied to a single device, such as calling another application, processing data, raising tickets, or sending scheduled updates. For automations that run on managed devices, such as cleaning up disk space or restarting a device, use a Device workflow. See [Managing Workflows in DEX](https://www.manageengine.com/digital-employee-experience/help/dex/managing-workflows.html). > **Note:** Circuits are available only in Endpoint Central Cloud. ![Circuit workflow page showing the Device and Circuit selectors in DEX](https://cdn.manageengine.com/sites/meweb/images/digital-employee-experience/help/dex/circuit-workflows-overview-device.png) ## Device Workflow vs. Circuit | Capability | Device workflow | Circuit | |---|---|---| | **Runs on** | Managed devices through the DEX agent | The cloud, without an agent or device | | **Use it for** | Device tasks such as cleanup, restarts, fixes, and user prompts | Tasks not tied to a device, such as calling other applications, processing data, or raising tickets | | **Deployment modes** | Immediate, Scheduled, or Trigger | Immediate or Scheduled | | **Results** | Status of every stage for each device | Status, input, and output of every step for each run | | **Available in** | Cloud and On-Premises | Cloud only | ## Create a Circuit 1. Go to **DEX > Workflows** and select **Circuit**. 2. Click **+ Create Workflow**, and then select **Create New**. 3. Enter a name and description, and then click **Done**. The workflow is created as a draft, and the Circuit canvas opens. 4. Drag the required steps from the left pane onto the canvas, and configure each step in the right pane. 5. Click **Save** to make the Circuit active and available for deployment. To finish it later, click **Save as Draft**. ![Circuit tab with the Create Workflow menu and Create New option](https://cdn.manageengine.com/sites/meweb/images/digital-employee-experience/help/dex/circuit-create-menu-device.png) ## Add a Function to a Circuit 1. Open the Circuit to display its canvas. 2. Drag the **Function** step from the left pane onto the canvas. 3. Select the step, and then choose a function from the list. Functions created in the **Functions** tab are available here. 4. Add the input values required by the function. 5. Configure the action to take if the function fails. 6. Click **Save**. ![Circuit canvas with a Function step between Start and End](https://cdn.manageengine.com/sites/meweb/images/digital-employee-experience/help/dex/circuit-function-canvas.png) ![Function step configuration showing the available JavaScript and Deluge functions](https://cdn.manageengine.com/sites/meweb/images/digital-employee-experience/help/dex/circuit-function-select.png) ## Run Another Circuit When multiple workflows share the same steps, build the shared steps as a separate Circuit and call it from the other Circuits. 1. Open the Circuit to display its canvas. 2. Drag the **Circuit** step from the left pane onto the canvas. 3. Select the step, and then choose the Circuit to run. 4. Add the input values required by the selected Circuit. 5. Click **Save**. ![Circuit step configuration showing the available Circuits](https://cdn.manageengine.com/sites/meweb/images/digital-employee-experience/help/dex/circuit-nested-circuit-select-device.png) ## Deploy a Circuit Saving a Circuit does not run it. Create a deployment to run the Circuit. 1. Open the Circuit, and then click its **Deployments** tab. 2. Click **Create Deployment**. 3. Enter a name and description. 4. Choose when the Circuit runs. **Immediate** runs it once immediately. **Scheduled** runs it on the configured dates and times. 5. Click **Create**. ![Circuit deployment dialog showing Immediate and Schedule deployment modes](https://cdn.manageengine.com/sites/meweb/images/digital-employee-experience/help/dex/circuit-deployment-mode-device.png) ![Circuit Deployments tab showing a newly created deployment in progress](https://cdn.manageengine.com/sites/meweb/images/digital-employee-experience/help/dex/circuit-deployment-list-device.png) > **Note:** A Circuit does not run on devices, so you do not select devices or groups. Only active Circuits can be deployed. Save the Circuit before creating a deployment. ## View Run Details Open a deployment to view every run and its status. Select a run to view its details. The canvas shows whether each step passed or failed, together with the data that entered and left the step. ![Circuit run details showing the step graph, status, input, and output](https://cdn.manageengine.com/sites/meweb/images/digital-employee-experience/help/dex/circuit-run-details.png) > **Note:** A scheduled deployment remains **In progress** until its final scheduled run is complete. ## Example: Create a Ticket for Missing Critical Patches This example checks daily for critical patches that have been missing for more than seven days and creates one service desk ticket that lists the patches and affected computers. - **Function — Find missing critical patches:** Retrieves critical patches that have been missing for more than seven days. - **Branch:** Continues to the ticket step when patches are found; otherwise, it proceeds to Success. - **Function — Create ticket:** Creates one service desk ticket containing the patches and affected computers. - **Success:** Ends the workflow. Deploy the Circuit as a scheduled deployment that runs daily. Each run appears in the deployment with its current status.