Instead of having unique custom code actions in each workflow which need to be maintained via the UI, it would be much better to be able to manage custom code actions in an abstracted “library” similar to templates - where actions could be named, developed and re-used in separate workflows. Would also be great to have the ability to externally sync these actions with an external repository for local development and tracking with git.
@a_funs - as an avid user of custom coded workflow steps, I’m missing some of the same facilities that you are suggesting here, although perhaps I’ve suggested them in different forms.
There does seem no alternative to repeating definitions of common functions, for example - you can’t put such elements in a library resource that would permit imports to realted workflow steps. The workflow automation API’s - which permits dynamic constriction of all typical workflow logic, displays custom code, but does not enable creation/updates in any way.
Overall, I’m disappointed with this community’s maintenance of a custom code knowledge base - for such a powerful tool, the ideas for better support get few upvotes. There has been in the past a repository of example fragments/applications. Sadly no longer maintained - new code submissions here go unanswered.