# Elsa

ABP version (opens new window) NuGet (opens new window) NuGet Download (opens new window) Discord online (opens new window) GitHub stars (opens new window)

An Abp module integrates Elsa workflows (opens new window) and provides some preset Elsa activities for the ABP framework.


# Installation

  1. Install the following NuGet packages. (see how (opens new window))

    • EasyAbp.Elsa.Server.Api (install at the server host project)
    • EasyAbp.Elsa.Web (install at the UI host project)
  2. Add DependsOn(typeof(ElsaXxxModule)) attribute to configure the module dependencies. (see how (opens new window))

  3. Install an Elsa persistence provider package for the server project, see https://elsa-workflows.github.io/elsa-core/docs/next/installation/installing-persistence.

# Usage

  1. Configure the server host project.

    context.Services.AddElsa(options =>
            x => x.UseSqlServer(configuration.GetConnectionString("Default")));
        options.AddAbpActivities(); // Add if you need the preset activities for ABP.
  2. Configure the Web host project.

    Configure<AbpElsaWebOptions>(options =>
        // The ServerUrl will fall back to the current root-url if null.
        options.ServerUrl = "https://myapp.com";
  3. Grant the EasyAbp.Elsa.ElsaManagement permission to admin users.

Please notice this module has implemented Elsa's multi-tenant support. That means tenant admins can create their workflows with tenant-isolated.

# Road map


Last Updated: 6/17/2022, 7:37:11 AM