catalyst / moodle-tool_dataflows

A generic workflow and processing engine which can be configured to do a large variety of tasks.
GNU General Public License v3.0
10 stars 6 forks source link

More documentation #880

Open dmitriim opened 1 month ago

dmitriim commented 1 month ago

I found that setting up dataflows can be challenging. One of the reason for that is it requires you to know how a particular step actually works. You can try to guess, but you don't really want to.

Would be nice to improve documentation for this plugin in general and some bits in UI.

For example:

An extra point would be to improve API documentation and for base classes explain how each of the method is being used. E.g. instead of "Get the step reference" for get_ref method provide a detailed description what it's used for and what the reference is and etc.

The main goal here to make it all very predictable or as predictable as possible. Personally I have set up few workflows, but every time I had to look into the code and run it through x debug to understand what I need to do to achieve what I needed.

dmitriim commented 1 month ago

Example of the step required documentation/examples: switch step

image

After reading this description I'm still not 100% sure how I configure it. A little example would help a lot here.