×
×
×
×

Circuit Workflows in DEX

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.

Note
Circuits are available only in Endpoint Central Cloud.
Circuit workflow page showing the Device and Circuit selectors in DEX

Device Workflow vs. Circuit

CapabilityDevice workflowCircuit
Runs onManaged devices through the DEX agentThe cloud, without an agent or device
Use it forDevice tasks such as cleanup, restarts, fixes, and user promptsTasks not tied to a device, such as calling other applications, processing data, or raising tickets
Deployment modesImmediate, Scheduled, or TriggerImmediate or Scheduled
ResultsStatus of every stage for each deviceStatus, input, and output of every step for each run
Available inCloud and On-PremisesCloud 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

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
Function step configuration showing the available JavaScript and Deluge functions

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

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
Circuit Deployments tab showing a newly created deployment in progress
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
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.

Frequently Asked Questions

What is the difference between a Device workflow and a Circuit?
A Device workflow runs on managed devices through the DEX agent. A Circuit runs in the cloud and does not involve a device.
Do devices need the DEX agent to use a Circuit?
No. Circuits run in the cloud, so no agent or device is required.
Can the same function be used in multiple Circuits?
Yes. Create the function once in the Functions tab, and add it to any Circuit with the Function step.
Can one Circuit run another Circuit?
Yes. Add a Circuit step and select the workflow to run.
How can a Circuit run automatically on a schedule?
Create a Circuit deployment, select Scheduled, and configure its start date, time, and end date.
How can I verify that a Circuit ran successfully?
Open its deployment. Each run displays an In progress, Completed, or Failed status. Select a run to view the result of every step.
Can I use a Circuit in Endpoint Central On-Premises?
No. Circuits are available only in Endpoint Central Cloud.