Are there good examples of approaches that instead of using BPMN to generate code to run, code is written and a process diagram is generated from an analysis of the code? I expect the variability in code expression would pose issues. The trade-off is it requires a coder to implement, but it would solve the communication and “stale” problems. I guess in a space like Elixir I’m wary of generated code implementing concurrency well; Salesforce’s declarative tools have issues with scalability and implicit implementation details, it can be hard to anticipate bugs or know when something will fail.
Another idea in this space is event storming. It might be easier to guide our token Excel-technical user through some kind of guided Event Storming session to define the process through events, commands, entity definitions, etc. It could be that this DDD modeling exercise is a simpler set of vocabulary to learn than the BPMN lexicon. The question is can this approach specify with enough granularity to generate capable code?