# Elsa
(opens new window)
(opens new window)
(opens new window)
(opens new window)
(opens new window)
An Abp module integrates Elsa workflows (opens new window) and provides some preset Elsa activities for the ABP framework.
# Installation
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)
Add
DependsOn(typeof(ElsaXxxModule))
attribute to configure the module dependencies. (see how (opens new window))Install an Elsa persistence provider package for the server project, see https://elsa-workflows.github.io/elsa-core/docs/next/installation/installing-persistence.
# Usage
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. });
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"; });
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.