Giter VIP home page Giter VIP logo

support-797's Introduction

WorkflowEngine.NET


This is a sample solution on how to work with IWorkflowActionProvider.

To get started, follow these steps:

  1. Clone the repository.
  2. Configure ConnectionStrings.DefaultConnection in WF.Sample/appsettings.json to connect to your MS SQL Server.
  3. Execute the following scripts one by one:
    • DB/CreatePersistenceObjects.sql
    • DB/CreateObjects.sql
    • DB/FillData.sql
  4. Now, you can build and run the solution.

This example is based on an existing sample. You can see all the modifications made to the original code in the pull request.

Essentially, this solution enables you to manage instances of processes within a single workflow scheme. To view and edit the scheme, simply click the "Designer" button in the top panel. To create a new instance, just click on "Create vacation request."

There are added the implementation of IWorkflowActionProvider in the form of an ActionProvider. This provider contains methods to manage data in the "Payments" table. When you explore the workflow, you'll notice that specific activities are associated with this implementation and feature certain parameters.

In the workflow, the process starts by creating a record with a new payment, once the author approves the request. After being reviewed by colleagues it progresses to a "canceled" or "paid" state. Furthermore, when the manager gives approval, the system checks the amount of the vacation advance. If it exceeds 1000, an additional signature from the big boss is required. The big boss also has the authority to adjust the advance amount or cancel the request.

support-797's People

Contributors

rylee-soll avatar

Watchers

 avatar

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.