Skip to content

longkunwq/Elsa

 
 

Repository files navigation

Elsa

ABP version NuGet NuGet Download Discord online GitHub stars

An Abp module integrates Elsa workflows and provides some preset Elsa activities for the ABP framework.

UI UI

Installation

  1. Install the following NuGet packages. (see how)

    • 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)

  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 =>
    {
        options.UseEntityFrameworkPersistence(
            x => x.UseSqlServer(configuration.GetConnectionString("Default")));
        options.AddConsoleActivities();
        options.AddSomeOtherActives();
        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

Todo.

About

An Abp module integrates Elsa workflows and provides some preset Elsa activities for the ABP framework.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C# 85.1%
  • HTML 14.9%