Dynamic workflow approach cautioned in docs

Hello,

We are in the process of prototyping an architecture for handling workflows that loaded at runtime. Because of that we are using a DSL approach so that workflows can be self-hosted and loaded at invocation and updated ad hoc. Looking at the docs we found this warning: Features - Java SDK feature guide | Temporal Documentation “Dynamic Handlers should be used judiciously as a fallback mechanism rather than the primary approach. Overusing them can lead to maintainability and debugging issues down the line.”

I was unable to find any further information on this. Since DSL workflows are going to be our primary approach, I wanted to ask why this was cautioned against. Thanks so much in advance!

The warning is there because some developers were using DynamicWorkflows for nondynamic use cases. DSL is a real dynamic use case, so you can ignore that warning.

Thanks so much!