From d126b76bfb190b65daa71a875e321ad42f4e49ab Mon Sep 17 00:00:00 2001 From: burnettk Date: Tue, 20 Feb 2024 19:36:44 -0500 Subject: [PATCH] document wish list item about fast feedback on expression errors --- docs/wish_list/wish_list.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/wish_list/wish_list.md b/docs/wish_list/wish_list.md index 67e2482d4..e696ad423 100644 --- a/docs/wish_list/wish_list.md +++ b/docs/wish_list/wish_list.md @@ -101,4 +101,9 @@ Right now we allow editing the Display name of a model or group, but it does not change the name of the underlying directory, making it harder and harder over time to look at GitHub or the file system and find what you are seeing in the display. +### Fast feedback on errors with python expressions +We have in the past considered changing the way lots of expressions worked such that you would have to include an equals sign in the front in order for it to be evaluated as python, like [this](https://docs.camunda.io/docs/components/concepts/expressions/#expressions-vs-static-values). +The [status quo is confusing](https://github.com/sartography/spiff-arena/issues/1075), but Elizabeth pointed out that requiring string parsing in order to decide how to evaluate something is not necessarily better. +If the BPMN editor was aware of the variables that existed within the workflow - defined by the json schemas of forms, messages, and service calls, or the variables that come out of script tasks, then we could immediately notify people of the issue while they are authoring the diagram rather than having to wait for a possible runtime error. +We could also change the error message on evaluation errors to incude a reminder that quotes are needed around strings