workflow
workflow copied to clipboard
Workflow procedures for PHP
At this point the package is mature for stable release and then production usage. Need to review the current project state to determine a roadmap towards 1.0.
`WorkflowInterface` provides `withAddedJob` method which enables to add jobs to a Workflow. Need to implement extendable Workflows enabling to remove/modify a job.
This package rely on Action, and it supports all the static validation rules used by Action. Need to provide an example to show how it asserts action parameters with job...
Add support for durable workflows to enable state persistence, fault tolerance, and long-running task execution. Should include recovery mechanisms and support for task retries.
If `ReturnAttr` is used in `main` method for a given Action (job), the Workflow system should consider that definition instead of the default `public static function return():`.
Needs to store the status of running workflows, for each Job and for the current running task.
Add methods `withRetries(int $maxRetries)` and `retries(): int`. By default Job uses `1`. Enable to re-run a work (n) times. Indicate how many times it failed and store each throwable. Add...
```php variable($foo, 'bar'); ```
A beginning concept for conjunction support within job arguments and runIF conditionals.