trailblazer-activity
trailblazer-activity copied to clipboard
Model business workflows and run them.
When using custom macros that return a Proc/Lambda, you have no access to the id when applying a task wrap. Because of this, the only way you can try and...
The internal `@id` given by `VariableMapping()` should be random and unique.
Would it be more consistent to have `Graph(MyActivity).outputs` instead of `MyActivity.to_h[:outputs]`?
See https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration for more details
```ruby module Myactivity step a step Nested(Tyrant::Magicstep), success => d step c step Rescue(d), exception => myhandler step e ```
``` task TaskWrap::Trace.method(:capture_return), id: "task_wrap.capture_return", before: "End.success", group: :end ```
Instead, you have to repeat `:id`, which is slightly inconvenient. ```ruby step :a, replace: :SomeID, id: :SomeID ```
What we do currently ``` step :validate, Output(:failure) => End(:invalid_params) step :find_user, Output(:failure) => End(:not_found) ``` it works, but is repeated in every CRUD Operation ideally, I would like to...