Giter Site home page Giter Site logo

optimajet / workflowengine.net Goto Github PK

View Code? Open in Web Editor NEW
862.0 77.0 242.0 62.33 MB

WorkflowEngine.NET - component that adds workflow in your application. It can be fully integrated into your application, or be in the form of a specific service (such as a web service).

Home Page: https://workflowengine.io

C# 60.64% CSS 0.25% HTML 24.35% JavaScript 3.46% TypeScript 8.15% Dockerfile 0.01% Batchfile 0.01% PowerShell 0.09% TSQL 2.15% Less 0.03% ASP.NET 0.22% PLpgSQL 0.65%
optimajet workflow engine mongo mysql postgresql oracle mssql csharp

workflowengine.net's Introduction

WorkflowEngine.NET

https://workflowengine.io

Email: [email protected]


WorkflowEngine.NET - component that adds workflow in your application. It can be fully integrated into your application, or be in the form of a specific service (such as a web service).

Steps for include the engine into your project: https://workflowengine.io/documentation/how-to-integrate/

Features

  • Process scheme generation in runtime
  • Designer of process scheme
  • Changing process scheme in runtime is possible
  • Pre-execution of process (executing of a process from initial activity to final activity without changing state)
  • Simple version control and upgrade of process scheme
  • Serialization and saving of parameters on demand
  • Support SQL/NoSQL databases

Workflow Engine NET includes a html5 designer: Workflow scheme in Designer

Demo

Demo

Samples

We have samples with MS SQL, MongoDB, MySQL, Oracle, PostgreSQL, Redis. Check out Samples.

Official web sitehttps://workflowengine.io

Documentationhttps://workflowengine.io/documentation

Designerhttps://demo.workflowengine.io/designer

Demohttps://demo.workflowengine.io/

For technical questions, please contact [email protected].

For commercial use, please contact [email protected].

Free limits:

  • Activity: 15
  • Transition: 25
  • Command: 5
  • Schema: 1
  • Thread: 1

workflowengine.net's People

Contributors

betine avatar dependabot[bot] avatar dmelnikov avatar optimajet 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  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

workflowengine.net's Issues

Support dot net core

hello,
do you support dot net core?
if yes do you support dot net core 3?

thanks ...

can't go through my own database

Hi,
I am trying to Check if a value is greater that a number and for that I need to query form my database ( some purchase Tabe where there is the price ).
The senario goes like this:

  • If the price is greater than 50000 then User1 must approve the purchase demand
  • otherwise User2 is the one who has to approve.
    The same thing happens when I want to Check the User with the ruleCheck that I created.
    I get this error:

System.ArgumentException : 'Format of the initialization string does not conform to specification starting at index 0.'

Here is the function that I do in the Condition:
`
private DatabaseContext context = new DatabaseContext("DefaultConnection");

public bool checkMontant(string numeroCommande, int montant)
{
CommandeDataModel c = context.Commandes.FirstOrDefault(c => c.Numero.Equals(numeroCommande));
return (c.Montant <= montant) ? true : false;
}`

In the condition code I put this code :
Class c = new Class(); return c.checkMontant("112", 50000);

And also in the Designer It shows no compilation errors.

File is not copied only link

Why installing package WorkflowEngine.NETCore-Designer adds a link to the file in wwwroot & not the actual file?

image

Getting Warning : package not fully compatible with your project

Getting a warning with Visual Studio 2019 Class Library(.NET Standard & .NET Core) project

By adding the following NuGet packages into the project

WorkflowEngine.NET-Core
WorkflowEngine.NET-ProviderForMSSQL

Below are the warnings

Package 'WorkflowEngine.NET-ProviderForMSSQL 4.0.7' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project. WorkFlow.Library C:\Users\XXX\source\repos\WorkFlowSolution\WorkFlow.Library\WorkFlow.Library.csproj 1

Package 'WorkflowEngine.NET-Core 4.0.7' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project. WorkFlow.Library C:\Users\XXX\source\repos\WorkFlowSolution\WorkFlow.Library\WorkFlow.Library.csproj 1

c1

can not complie

严重性 代码 说明 项目 文件 行 禁止显示状态 错误 This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is C:\Users\Administrator\Source\Repos\WorkflowEngine.NET\Samples\MSSQL\\.nuget\NuGet.targets. WF.Sample.Business C:\Users\Administrator\Source\Repos\WorkflowEngine.NET\Samples\MSSQL\WF.Sample.Business\WF.Sample.Business.csproj 124

i can not find ".nuget"

How does AutoSchemeUpdate property work ?

What happens when a scheme is modified and AutoSchemeUpdate was set ? what happens if it is not set ?
assume I want to add a new activity middle way in the scheme

Calling the MSSQLProvider.GetSchemesAsync method results in an exception when a scheme does not have inlined schemes

Schemes without any inlined schemes have a null value in the ‘InlinedSchemes’ column in the ‘WorkflowScheme’ table. The GetInlinedSchemes method called from MSSQLProvider.GetSchemesAsync does not check for null and this results in Newtonsoft throwing the ArgumentNullException.

InlinedSchemes = sc.GetInlinedSchemes(),

return JsonConvert.DeserializeObject<List<string>>(InlinedSchemes);

CommandExecutionResult should contain more information

CommandExecutionResult class should return more information in the event of ExecuteCommand or ExecuteCommandAsync resulting in a negative result due to failed condition test

Users should be told exactly what condition(s) were not met and not just a bool.

This is simply not useable as opensource very misleading; NOT really OpenSource

I was on the other doc sample, and then I downloaded and tried this to step in, could not figure out/trace the debug on whats going on for the longest time, then realized its only some of the code (and samples) is available. But the rest is really private and commercial!

Why are the main dlls and the designers are all closed source? and only under commercial license

- this is simply not usable as open source, and very misleading

Also the designer actions and words make no sense, don't correspond with user actions buggy.

do you really have an opensource community version or not??

If not, IMHO you're doing this a s a SCAM.

DropWorkflowProcesses stored procedure doesn't delete WorkflowProcessInstancePersistence records

Hi,

I noticed that the DropWorkflowProcesses stored procedure doesn't delete records from the WorkflowProcessInstancePersistence table. On this line it queries the persistence table, but deletes records from the status table:

DELETE dbo.WorkflowProcessInstanceStatus FROM dbo.WorkflowProcessInstancePersistence wpi INNER JOIN @Ids ids ON wpi.ProcessId = ids.Id

I was wondering if this is a bug or by design?

nuget and db updates out of sync

After downloading this via nuget, and trying I noticed the package builds on 4.5 and not 4.6.1 and also has compile issues due to many packages out of sync.

About Condition

Hi,
I have read your document here:https://workflowengine.io/documentation/scheme/conditions/ , I have a question:

In your design, Instead of a independent Activity or ( aka Task in most workflows) , Condition is just an attribute of Transition

In other products , they usually split Sequence Flow and Condition , Why you combine them in Transition?

Console Application- Getting Error on CreateInstance

While loading WorkflowApp.WorkflowInit.Runtime.CreateInstance method. Getting the below error in console application.

(Using section): error CS0246: The type or namespace name 'WF' could not be found (are you missing a using directive or an assembly reference?)

Please help to fix this error.

Passing Parameters from Angular to Active Current Custom Activity

Currently am using WFE 4.2.2 and Creating some custom activity tool.
Have to implement some functionality.
Currently we used WFE 4.2.2 and Angular 9
Based on selecting activity from Canvas area am showing right side window.
I need to pass right windows values to that particular activity and when i select that same activity should populate that related selection and enter values in right side window.
Anyone can please kindly help to fix this.
Screen shot attached here
Note: Instead of Jquery popup window am using right panel window;
image

GetAvailableCommands return an empty array

Hi,
I am trying to get available commands but all I get is an empty array.
The function worked just fine but now I am having this issue.
Any ideas on what the problem might be?
Thank you.

Hard to use - the Samples from your website are missing

Hi optima, after trying this and spending a lot of time, I noticed there are no true useable samples like the ones listed on your website, for e.g. the document approval system is show on the site but not here. Aldo you have multiple connections strings that are colliding

  • Its no use without have a full working sample, since its hard to understand and follow (non-trivial), I would suggest that you please rename the basic names like sightings etc...
  • In the sample can you list and include role/user management
  • so make it easy to integrate with an existing web MVC application with ASP identity 2.2. This would make the purchase easier since the effort to integrate would be turnkey.
  • right now since we don't know your source / design, its hard to know where to tie-in or integrate our user and role checks for the document approval
  • Can you have the designer auto detect the screen-size
  • what is the purpose of a new besides the resize button, does it allow me to create a full new instance or schema??
  • can you allow zooming in and panning out so we can see full designer
  • can you change the color of the arrow, and command actions
  • can you explain how to use command actions, actions, transitions, executions
  • Can you list more documentation on the simple document approval for admin, manager and user actor perspectives. Its not clear who is doing what
  • It has potential but buggy like the previous users mentioned
  • Can you include a mini-map like photoshop at the corner
  • What happened to all the settings previously?

How to delete the temp files that generated by workflow instance.

In fact , I use the workflow.engine for a long time and found no disk space in disk C. Finally , we found in account temp directory , there are many many temp files that generated by workflow . When workflow instance start , it will create new files always. so how to delete them safety ? I am not sure if your framework can remove it automatically .

file path://
C:\Users\xxxx\AppData\Local\Temp

About Activity action executions

hi ,
when i try to run a process (all auto trigger transitions), I found that activities (exclude the initial one) didn't run their actions , and i read the source code, found it only executed transition without the activity's action in method executeFull
can you help me to find what's wrong with my usage?

UnitTesting

Is there a recommended way to write unit tests for methods that utilize WFE?
Ideally I would want to mock WorkflowRuntime, but it does not implement an interface I can mock.
I can mock the interfaces IPersistenceProvider, ISchemePersistenceProvider and IWorkflowGenerator. But that is a lot of work because I have to provide fully functional implementations or the Runtime will throw errors.

Any chance for an IWorkflowRuntime interface or an In-memory persistence provider?

Can't delete global CodeActions

Not sure how this can be reproduced but here what i did ..

  • Create CodeAction and mark it global, and save.
  • Delete CodeAction, and save.
  • Open CodeActions window again and it is still there.

What i was actually doing is making a global method non-global by unchecking global checkbox in CodeAction window, then saved the scheme. Reloaded the page and checked code actions to see that all global code actions still there AND there is also a duplicate of them as non-global code actions.

If I try to close the code actions windows it will mark my codeactions with red color ( duplicate names ). Now i try to delete the global actions to get rid of the duplicate error, but they are reappear after I save my scheme and reload it.

I hope I was clear.

EDIT: I've checked WorkflowScheme table in the database and the scheme is saved correctly without the global codeactions. So I assume it is at the load/render where duplication happens.

EDIT 2: Fixed by deleting codeactions from WorkflowGlobalParameter table, looks like deleting global codeaction try to delete the action from the scheme insted of global parameters table.

Version : 1.5.5.2

workflow database

Does workflow engine will do a database index rebuild work? When my database was full and I shrink the database , I find one command maybe from workflow to rebuild index , but I am not confirmed .

Console Error

Create Instance - Exception: Exception of type 'OptimaJet.Workflow.Core.Fault.ShemeNotFoundException' was thrown.

Core version 1.5.5 from the workflow engine website.

There is no install document.

Multi-timers on one activity

Hi,
I have 2 timer triggers on 1 activity (defined as interval) , on transition with some condition.
When one of them is executed and condition is false, happens that after that both of timers are reseted. If I mark "Do not override timer if exists" as true on timer definition, after evaluating condition as false, timer is not created again on activity.
What I want is 2 timers (timer interval working as recurring timers) on 1 activity , that work independent.

Integration with AspNet Boilerplate suggestions

My suggestions for the sample AspnetBoilerplate & Workflow integration code

PersistenceProvider.GetProcessInstancesAsync SQL Error

System.AggregateException: 'One or more errors occurred. (An object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name.)'

Creating a new subproccess takes about 1-3 seconds

When i create a new subprocess like in the following picture there is always a delay compared to direct commands.

Untitled.png

the transition from Licensing to TrainingApp have a condition which simply just a return true .
the same happens at CreateGurantee activity, where both of these activites start a new process.

Any ideas of why is it slow and how could i improve it ?

How to Create Custom Tab

I have to create custom tab with Toolbar like MS-Paint.Can you please guide me.
refer below screen

image

error from JS

uncaught or value undefined sometimes the message is xxx expected in IE 11 , edge and chrome (rarely) its hard to see inside the JS... but in the stack its right at WorkflowDesignerForm

Difference between Actor and Role

Hi there are 2 very confusing items in your documentation page, Im hoping you can clarify it.

There is Actor settings, Name, Value and Rule:

  • Is this the same as a role in ASP MVC, or is it a user, how does correspond to the ASP MVC user. So why does it only get one rule, I thought a roles/actor can have a full collection of rules
  • What is the relationship or difference between Commands Actions and Transitions
  • What is the diff between IWorkflowActionProvider and RuleProvider
  • On serverside you have public ActionResult API(), but there where to get the change in state etc Post/ back to the controller

Integrate Users in WFE as Actors

Hi,
I want to be able to use my users table as the actors that I create in the designer.
If that is possible please fill me with full instructions.
Thank you.

Not opensource - mostly dlls

Because I had an error while building the DW kit, I was trying to resolve that and pulling this down to include in the place of the Dll's to build, but I am still getting errors? It was only then that I found out, this is mostly dlls' and not open source - no source code is included.

  •     Can you clearly tell me where I can pull down your dll's source and build myself. 
    
  •     Where are they - or are you not including them... this does not seem opensource to me
    

Everything here is mostly prebuilt dll's, but no source, a little source for some HTML and MVC views and interfaces not the business layer or the core app, seems to me as marketing only - not really open source

Another user pointed out the same issue http://workflowengine.codeplex.com/discussions/528507 and you moved here to a different repository!

Like he says
"kiquenet
Jan 31, 2014 at 7:38 AM
The project is open source ? if it's not, why is hosted in codeplex? "...

GitHub is for open source only please, and _not marketing_ . If you want a commercial closed source you have to buy a different package at Github, this is totally false

Total waste of time.

How to create a default Parameter

Hi,

I was wondering how to create a default Parameter that will be displayed in the Parameter settings in the workflow designer?

I am looking at the workflow runtime and I wanna know if there is some ways like how the actors are being populated.

Desktop version?

Hello,

I know that the trend is to go web and everything. However, I would need to do a desktop ".exe" file using SQLite (no web server, no database server, etc.). I'm interested in your product. However, it seems that only Web is supported? Is it some manipulation, configuration that could be done to make it work as desktop standalone? Same goes for the database server, any plan on supporting SQLite?

Regards,
Bruno

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.