Giter Site home page Giter Site logo

jxnkwlp / abp-elsa-module Goto Github PK

View Code? Open in Web Editor NEW
106.0 10.0 22.0 12.17 MB

Elsa abp module and workflow app

License: MIT License

PowerShell 0.01% C# 63.34% Dockerfile 0.02% JavaScript 0.24% TypeScript 35.18% Less 0.72% EJS 0.47% CSS 0.01%
abp-vnext elsa elsa-designer elsa-workflow

abp-elsa-module's Introduction

Abp & Elsa & Designer

build and pack NuGet Docker Image Version (latest by date)

Elsa module integration for abp.

Quick start

Docker

What's new

  • Adapter elsa store to abp repository (entityframework & mongodb)
  • New graph designer system
  • History version list & version comparison
  • New activities
    • BlobStoring (Read,Write,Delete)
    • Caching (Read,Write)
    • Configuration (Read)
    • Emailing (integrated with abp user&role system)
    • EventBus (Publish,Subscribe,Unsubscribe)
    • String decryption & encryption
    • Setting (Read,Write)
    • Clock
    • Current tenant
    • Current user
    • Guid generate
    • Http authorization
    • Send sms
    • Run CSharp code as script
      • Editor intellisense

Screenshots

Instances

Instance detail

Definitions

Designer

Activity settings

New activities

Version comparison

definition setting (change language)

Demo site

https://elsa-app-demo.azurewebsites.net/

username: demo

abp-elsa-module's People

Contributors

imgbotapp avatar jxnkwlp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

abp-elsa-module's Issues

docker 运行错误

image

2023-11-21 10:08:40 2023-11-21 10:08:40.1233|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://localhost:10000/api/elsa/workflow/definitions application/json;charset=UTF-8 728
2023-11-21 10:08:40 2023-11-21 10:08:40.1233|DEBUG|Elsa.Services.Locking.DistributedLockProvider|Acquiring a lock on 1b803cc701da4ce0b391a17b86017537
2023-11-21 10:08:40 2023-11-21 10:08:40.1233|DEBUG|Elsa.Services.Locking.DistributedLockProvider|Lock acquired on 1b803cc701da4ce0b391a17b86017537
2023-11-21 10:08:40 2023-11-21 10:08:40.1233|DEBUG|Elsa.Services.Workflows.WorkflowLaunchpad|Found 0 workflows with correlation ID 1b803cc701da4ce0b391a17b86017537
2023-11-21 10:08:40 2023-11-21 10:08:40.1233|DEBUG|Elsa.Services.Workflows.WorkflowLaunchpad|Triggering workflows using HttpEndpoint
2023-11-21 10:08:40 2023-11-21 10:08:40.1314|WARN|Volo.Abp.AspNetCore.Mvc.AntiForgery.AbpValidateAntiforgeryTokenAuthorizationFilter|The antiforgery token could not be decrypted.
2023-11-21 10:08:40 2023-11-21 10:08:40.1314|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished HTTP/1.1 POST http://localhost:10000/api/elsa/workflow/definitions application/json;charset=UTF-8 728 - 400 0 - 8.3158ms

image

elsa3.0

when elsa3.0 will be integrated?we hope that.

feature enhancement

Basic

  • #28
  • Global code block #48
  • Activity execute retry when failed

Enhancement

Functional

  • Workflow details & summary & statistics (#35)
  • Workflow batch import & export (#36)

Business

  • Forms engine
  • Permissions
  • Process engine

web启动报错

先启动 Passingwind.WorkflowApp.HttpApi.Host,再启动 Passingwind.WorkflowApp.Web,报错:
image
修改了host的数据库链接,使用两个站点都是用同样的数据库AbpElsaDemo。
请问,要怎么样才能让web启动起来呢?

Business flow design

Generally, business processes will include forms and business state changes.

example, in financial approval, has some points:

  1. user request and fill an form and explain what todo
  2. the user of financial role can be approval or not and can see the forms information that the user request
  3. request user can view the request in any time and can know the current busines state
  4. has some logic or condition in steps and steps
  5. use rest api to interact with outer system

For implement this, has big functions:

  • Forms
  • Business flow

Forms

Forms definition an form for end user to use. can fill or view data . can definition fields and process state.

Business flow

Business flow will be link forms and workflow, include security options, process flow state and so on.

Global code block

can be definition global code to reuse logic or functions. support C# or Javascript language.

2 types of codes。

  • Action
  • Condition

action code

action code is an general script, usually used for logic.

condition code

condition code for condition activity. it must be return true or false when executed.

Workflow permission control

Now the permssion has only control on menu or function, that mean an user can access all workflows or workflow instance.

Sometimes we want control user can only access specified workflow for security.

Plan:

Build an 'Workflow Group'

  1. include users
  2. map an role that have permssion on workflow function
  3. include some workflows

Once created, a user only can access workflows from groups that include the user. and the permssion inheritance from group role.

The workflow id will be as permission name.

Host terminated unexpectedly!

Hi, I am trying to run your package and got this error:
Volo.Abp.AbpInitializationException: An error occurred during ConfigureServicesAsync phase of the module Passingwind.Abp.ElsaModule.ElsaModuleDomainModule, Passingwind.Abp.ElsaModule.Domain, Version=0.1.0.0, Culture=neutral, PublicKeyToken=null. See the inner exception for details. ---> System.TypeLoadException: Method 'FindManyAsync' in type 'Passingwind.Abp.ElsaModule.Stores.WorkflowInstanceStore' from assembly 'Passingwind.Abp.ElsaModule.Domain, Version=0.1.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.

第三方组件

elsa集成了很多得第三方组件,比如automapping 容易和abp的起冲突

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.