Skip to main content

Get Started with Workflows

For IDP 2.0 Customers

If you're using Harness IDP 2.0, please ensure you have reviewed the IDP 2.0 Overview guide and are familiar with the key steps for upgrading to IDP 2.0. To enable IDP 2.0, you must raise a support ticket to activate the IDP_2_0 feature flag for your account.

Service and Infrastructure onboarding in today’s world is slow, manual and tedious. Developers often spend days—or even weeks—setting up new software and completing Day-2 operations. This inefficiency arises from either waiting for ticket resolutions (TicketOps) or manually handling repetitive tasks, which results in a poor developer experience and decreased productivity.

Harness IDP addresses these challenges with Self-Service Workflows.

Workflows enable developer self-service by automating manual tasks and processes. Using Workflows, platform engineering teams can:

  • Automate new service onboarding.
  • Simplify Day 2 operations for developers.
  • Provide developers with golden paths to production that include guardrails and best practices.

This guide will take you through the journey of creating, configuring and executing a Workflow.

What's new for Workflows in IDP 2.0?

Harness IDP 2.0 represents a major evolution of the Internal Developer Portal, built on a Harness-native data model designed for enterprise-scale environments and robust access control. Here's what’s changing in IDP 2.0 for Workflows:

  • Harness-native Platform Hierarchy: Workflows now support Account, Org, and Project scopes, with built-in, fine-grained RBAC.

  • No YAML Required: Create and modify Workflows directly within the UI—no need to manage YAML files or deal with Git operations

Prerequisites (IDP 2.0)

Before getting started with Workflows in IDP 2.0, ensure you have the following prerequisites:

Create a Workflow (IDP 2.0)

In IDP 2.0, you can create Workflows directly from the Harness IDP UI —eliminating the need to manually manage YAML files. With this release, "inline workflows" are fully supported, allowing you to manage the entire workflow lifecycle through the UI or APIs—no Git operations required. Learn more about Self Service Workflows here.

There are two ways for you to add and create a new Workflow in your IDP:

  • Create a Workflow via the Harness IDP UI: Use the Harness UI to create Workflows directly—no YAML required. This method offers a streamlined, code-free experience for adding entities.
  • Create a Workflow using your Workflow YAML: You can still create Workflows using your existing Workflow YAML files. Harness will automatically convert legacy Backstage YAML into the new Harness-native Data Model and register the corresponding Workflow.

Let's try creating a Workflow using both the methods:

To create a new Workflow, navigate to the Harness IDP portal and click on “Create” from the side-bar menu. Choose Workflow from the panel, and follow these steps:

  1. You’ll be redirected to the "Visual View", where you can input basic Workflow details and begin the creation process.
  2. Enter the required Workflow information. The Visual view is synced in real-time with the YAML view for full transparency.
  3. Define the Workflow scope — choose whether the Workflow should reside at the Account, Project, or Organization level. For this use-case, let's select the Account scope. Read more about Workflow RBAC.
  4. Click on “Review YAML” to view the auto-generated YAML. Since there's a live sync between the Visual and YAML views, changes in one will reflect in the other.
  5. You can configure your Workflow by editing the YAML directly—add inputs, backend actions, and outputs as needed. This allows you to fully customize the Workflow behavior. Learn more about the components of a Workflow and its YAML structure here.
info

Note: YAML validation is performed to ensure compatibility with the Harness-native Data Model. Any errors will be shown in the Validation logs.

  1. Once everything is set, click “Create Workflow” to finalize and create the Workflow.

Execute Workflows (IDP 2.0)

Once you've created a Workflow in IDP 2.0, you can execute it from the Workflow details page. There are two ways to access the Workflow:

  1. From the Catalog:
    • Navigate to the Catalog and locate the relevant Workflow.
    • Click on the Workflow to open its details page.
    • Click Launch to execute the Workflow.

  1. From the Workflows Page:
    • Go to the Workflows section from the main navigation.
    • Find and select the desired Workflow.
    • Click Launch to execute it.

Delete a Workflow (IDP 2.0)

To delete a Workflow:

  • Go to the Workflows page.
  • Locate the Workflow you want to remove.
  • Click the three-dot menu (•••) in the top-right corner of the Workflow card.
  • Select Delete Workflow from the dropdown.

Next Steps (IDP 2.0)

Now that you've learned how to create and manage a Workflow, here's what to explore next:

  1. Deep dive into the Workflow YAML
  2. Learn how to configure Inputs, Actions and Outputs in a Workflow.
  3. Explore how to setup a Harness IDP Pipeline.
  4. Learn how to configure RBAC for Workflows.