Skip to content

Developing a simple approval workflow using Spring StateMachine

Notifications You must be signed in to change notification settings

tasszz2k/spring-statemachine-demo

Repository files navigation

Spring state machine demo

Introduction

  • This is a simple demo of Spring state machine. It is a simple state machine that can be used to manage the state of an object.

  • States:

    • DRAFT
    • FA_REVIEW
    • REJECTED
    • APPROVED
    • DISTRIBUTING
    • IN_USE_REVIEW
    • IN_USE_APPROVED
    • ENDED
  • Events:

    • CREATE,
    • SUBMIT,
    • APPROVE,
    • REJECT,
    • EDIT,
    • DISTRIBUTE,
    • USE,
    • TERMINATE,
    • END

    campaign-approval.png

    img.png

APIs

1. Create a new campaign

img.png

2. Get a campaign by id

img_1.png

3. Trigger a campaign event (edit, approve, reject)

img_2.png

About

Developing a simple approval workflow using Spring StateMachine

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages