in general are there any materials that show cases of proven practices that work well with workflows

in general are there any materials that show cases of proven practices that work well with workflows? i.e. is it better to keep interaction with the db inside the workflow or outside of the workflow in the worker itself. or more generally what actions are better to perform inside workflow vs. inside a regular worker?
Was this page helpful?