Ruby on rails workflow engine (like IBM WorkFlow)

2020-04-10 01:39发布

问题:

Is there any workflow imlementation in RoR?

Several years i developed and supported a IBM Lotus Notes enterprise apps with IBM WorkFlow. This software provides possibility to draw business process scheme (e.g. someone creates document and send it to another employee, another employee makes some changees and send this doc to another employee or return to initiator etc)

Now im hardly learning Ruby and RoR. And my boss asks - can we implement this functional with RoR? It would be great if there is a software to draw business processes scheme and a gem that could be use this scheme.

Many thanks! And sorry for my english)

回答1:

Check rails_workflow. (http://github.com/madzhuga/rails_workflow). It has no graphical editor for business schemes but it allows you to configure processes and this may be close to what you need.



回答2:

Not sure if this is exactly what you're looking for, but we're using something called state machine in one of our rails 4 apps. The original repo is unmaintained, but there's a fork here that we're using. There are some great examples in the readme.