Comments (2)
@joshco according to your questions:
-
A process gets completed when all operations are completed. The engine is ready for using async - I just need to update runners (I don't have it in an open source gem but it was implemented in non-open source versions). Let's say you have order processing workflow. It processes orders and one operation starts subprocess which covers storage provisioning. Order process (parent process) doesn't care for it - it just starts it as a child process but doesn't need to wait for this child process to complete. If you mark the operation as an async - process will be able to complete having this operation still in progress. Most common usage is for subprocess operations - they start subprocesses and parent process doesn't need to wait for child process to complete of async subprocesses.
-
If you want to have some validations before completing operation - there are at least three ways to implement it. You can contact me in skype (maxim.madzhuga) - and I will be able to describe them and answer your questions.
-
I tried to implement pretty simple dependency resolution here in rails_workflow engine - let me know if something looks complex to you :)
Do you have any other questions? Some of non-opensorce realizations of an engine were modified to cover complex errors management, configuration caching, user groups/roles permission etc.
from rails_workflow.
@joshco I am trying to get some feedback from people using rails_workflow - can you contact me ([email protected])?
from rails_workflow.
Related Issues (20)
- postgres HOT 10
- Consider deprecating use of the 'guid' gem
- Use Active Job API HOT 5
- Broken in new Rails 5 project HOT 2
- support for sqlite3? HOT 2
- Assign operation on run time after completion a operation HOT 4
- undefined method `role_text' for #<Class:0x007fd0e389f3a8> HOT 5
- [FAQ] Production ready HOT 12
- undefined method `get_role_values' HOT 3
- Remove pg dependency HOT 2
- Syntax error in latest rev. HOT 2
- Isn't working on Rails 5 HOT 5
- Some inconsistencies in the documentation
- Rails 5.1 Incompatibility HOT 2
- ActiveRecord::Migration is not supported
- rails generate rails_workflow:install shows error HOT 1
- Error with Rails 5.2.0: undefined method `respond_to' HOT 4
- undefined method `map' for nil:NilClass in operation_templates_controller.rb
- rails generate rails_workflow:install fails HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rails_workflow.