sartography / SpiffWorkflow

A powerful workflow engine implemented in pure Python
GNU Lesser General Public License v3.0
1.69k stars 313 forks source link

Improvement/flexible task iteration #352

Closed essweine closed 1 year ago

essweine commented 1 year ago

This PR includes

essweine commented 1 year ago

Also, both methods (get_tasks and get_tasks_iterator) already existed.

The advantage of task filter is that you can extend it if you have custom properties and use your own instead (so for example, you could write a filter in arena's backend that includes spiff properties and pass that in). I added this because there have been many times when I've been hampered by the builtin iterator's capabilities.