Use cases of the Workflow Engine

前端 未结 8 1483
温柔的废话
温柔的废话 2020-12-07 07:08

I\'d like to know about specific problems you - the SO reader - have solved using Workflow Engines and what libraries/frameworks you used if you didn\'t roll your own. I\'d

8条回答
  •  死守一世寂寞
    2020-12-07 07:54

    On a previous project I was working on i added some Workflow type rules to a set of Government Forms in the Healhcare industry.

    Forms needed to be filled out by the end user , and depending on some answers other Forms were scheduled to be filled out at a later date. There were also external events that would cancel scheduled Forms or schedule new ones.

    Sample Flow :

    Patient Admitted -> Schedule Initial Assessment FOrm -> Schedule Quarterly Review Form -> Patient Died -> Cancel Review -> Schedule Discharge Assessment Form

    Many other rules were based on things such as Patient age, where they were being admitted etc.

    This was an ASP.NET app, the rules were basically a table in the database. I added scripting, so a script would run on Form completion to determine what to do next. This was a horrid design, and would have been perfect for a proper Workflow engine.

提交回复
热议问题